Skip to main content

changed_paths

Function changed_paths 

Source
pub fn changed_paths(root: impl AsRef<Path>) -> Result<HashSet<String>>
Expand description

Every path git status lists, uncapped and unfiltered.

The content-based freshness check uses this only as a CANDIDATE set: each path is then confirmed against the indexed fingerprint, so a file git calls modified whose bytes the index already holds is not stale.