Mercurial > public > mercurial-scm > hg-stable
view rust/hg-core/src/operations/mod.rs @ 52792:3ea5bd40b8dc
rust-nodemap: requiring immutable part to be Sync
This is necessary for the upcoming PyO3 bindings and does not bring
any problems.
In practical applications, this immutable part is often obtained by
`mmap` and satisfies the requirement.
author | Georges Racinet <georges.racinet@cloudcrane.io> |
---|---|
date | Wed, 25 Dec 2024 12:43:45 +0100 |
parents | 6183949219b2 |
children |
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 annotate; mod cat; mod debugdata; mod list_tracked_files; mod status_rev_rev; pub use annotate::{ annotate, AnnotateOptions, AnnotateOutput, ChangesetAnnotation, }; 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_change, status_rev_rev_no_copies, DiffStatus, ListCopies, StatusRevRev, };