Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/operations/mod.rs @ 52970:e4ff37b5317c
stream-bundle: simple use of `mode` argument of `os.open`
This argument have been around for a while and simplify the code. This is
especially true as Windows does not have `os.fchmod` so we would have had to
deal with this special case.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 18 Feb 2025 17:21:42 +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, };