##// END OF EJS Templates
dirstate-v2: Add a zero-size error type for dirstate v2 parse errors...
dirstate-v2: Add a zero-size error type for dirstate v2 parse errors This error should only happen if Mercurial is buggy or the file is corrupted. It indicates for example that: * A part of the file refers to another part, and the byte offset or item count would cause reading out of bounds, beyond the end of the file. * The byte for an entry state has an invalid value When parsing becomes lazy, many more functions will return a `Result` with this error. Making it zero-size reduces the work that the `?` operator needs to do to pass around the error value. Differential Revision: https://phab.mercurial-scm.org/D10748

File last commit:

r48055:1766130f default
r48125:18b3060f default
Show More
dirstate_tree.rs
5 lines | 97 B | application/rls-services+xml | RustLexer
Simon Sapin
dirstate-tree: Empty shell for a second Rust DirstateMap implementation...
r47865 pub mod dirstate_map;
Simon Sapin
dirstate-tree: Make Rust DirstateMap bindings go through a trait object...
r47863 pub mod dispatch;
Simon Sapin
dirstate-v2: Change the on-disk format when the requirement is enabled...
r48055 pub mod on_disk;
Simon Sapin
dirstate-tree: Add `WithBasename` wrapper for `HgPath`...
r47866 pub mod path_with_basename;
Simon Sapin
dirstate-tree: Give to `status()` mutable access to the `DirstateMap`...
r47882 mod status;