view rust/hg-core/src/operations/mod.rs @ 46152:e166e8a035a7

copies-rust: use the entry API to overwrite deleted entry This is more efficient, more idiomatic and more compact. The main motivation for this change is to cleanup that area before start to do "overwrite" tracking. Such tracking will ultimately help to avoid costly is_ancestors call when merging changeset. Differential Revision: https://phab.mercurial-scm.org/D9494
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 02 Dec 2020 10:51:40 +0100
parents dca9cb99971c
children 3e2d539d0d1a
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 find_root;
mod list_tracked_files;
pub use cat::{cat, CatRevError, CatRevErrorKind};
pub use debugdata::{
    debug_data, DebugDataError, DebugDataErrorKind, DebugDataKind,
};
pub use find_root::{
    find_root, find_root_from_path, FindRootError, FindRootErrorKind,
};
pub use list_tracked_files::{
    list_rev_tracked_files, FilesForRev, ListRevTrackedFilesError,
    ListRevTrackedFilesErrorKind,
};
pub use list_tracked_files::{
    Dirstate, ListDirstateTrackedFilesError, ListDirstateTrackedFilesErrorKind,
};