Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/operations/mod.rs @ 52160:e01e84e5e426
rust-revlog: add a Rust-only `InnerRevlog`
This mirrors the Python `InnerRevlog` and will be used in a future patch
to replace said Python implementation. This allows us to start doing more
things in pure Rust, in particular reading and writing operations.
A lot of changes have to be introduced all at once, it wouldn't be very
useful to separate this patch IMO since all of them are either interlocked
or only useful with the rest.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 10 Oct 2024 10:34:51 +0200 |
parents | 7c105b953ca4 |
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};