##// END OF EJS Templates
dirstate-v2: Drop cached read_dir results after .hgignore changes...
dirstate-v2: Drop cached read_dir results after .hgignore changes Soon we’ll want the status algorithm to be able to skip `std::fs::read_dir` in more cases, notabling when listing unknown files but not ignored files. When ignore patterns change (which we detect by their hash, added to the dirstate-v2 format in a previous changeset), a formerly-ignored file could become unknown without changing its parent directory’s modification time. Therefore we remove any directory mtime from the dirstate, effictively invalidating the existing caches. Differential Revision: https://phab.mercurial-scm.org/D10907

File last commit:

r48165:bd88b6bf default
r48268:c657beac default
Show More
dirstate_tree.rs
5 lines | 101 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
rhg: Add support for dirstate-v2...
r48165 pub mod status;