Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/operations/mod.rs @ 46611:1fce35fcb4db
copies-rust: pass `PathToken` around by value
It?s just a `usize`.
Differential Revision: https://phab.mercurial-scm.org/D10069
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 08 Jan 2021 11:58:16 +0100 |
parents | 1dcd9c9975ed |
children | b1f2c2b336ec |
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 dirstate_status; mod list_tracked_files; pub use cat::cat; pub use debugdata::{debug_data, DebugDataKind}; pub use list_tracked_files::Dirstate; pub use list_tracked_files::{list_rev_tracked_files, FilesForRev};