view rust/hg-core/src/operations/mod.rs @ 51867:69b804c8e09e

rust: use new revlog configs in all revlog opening code This centralizes the more complex logic needed for the upcoming code and creates stronger APIs with fewer booleans. We also reuse `RevlogType` where needed.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 19 Jun 2024 12:49:26 +0200
parents ac3859a8b796
children 7c105b953ca4
line wrap: on
line source

//! A distinction is made between operations and commands.
//! An operation is what can be done whereas a command is what is exposed by
//! the cli. A single command can use several operations to achieve its goal.

mod cat;
mod debugdata;
mod list_tracked_files;
mod status_rev_rev;
pub use cat::{cat, CatOutput};
pub use debugdata::debug_data;
pub use list_tracked_files::{list_rev_tracked_files, FilesForRev};
pub use status_rev_rev::{status_rev_rev_no_copies, DiffStatus, StatusRevRev};