##// END OF EJS Templates
rust: Make NodePrefix allocation-free and Copy, remove NodePrefixRef...
rust: Make NodePrefix allocation-free and Copy, remove NodePrefixRef The `*Ref` struct only existed to avoid allocating `Vec`s when cloning `NodePrefix`, but we can avoid having `Vec` in the first place by using an inline array instead. This makes `NodePrefix` 21 bytes (with 1 for the length) which is smaller than before as `Vec` alone is 24 bytes. Differential Revision: https://phab.mercurial-scm.org/D9863

File last commit:

r46751:dca9cb99 default
r47160:645ee722 default
Show More
mod.rs
23 lines | 781 B | application/rls-services+xml | RustLexer
//! 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,
};