view rust/hg-core/src/operations/mod.rs @ 52064:7c105b953ca4

rust-files: separate the listing of files from a revset and a revision We won't need to parse a revset all the time, and an upcoming patch will make use of this new util.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 30 Sep 2024 19:15:19 +0200
parents 69b804c8e09e
children bde718849153
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, list_revset_tracked_files, ExpandedManifestEntry,
    FilesForRev,
};
pub use status_rev_rev::{status_rev_rev_no_copies, DiffStatus, StatusRevRev};