Skip to main content

changed_paths

Function changed_paths 

Source
pub fn changed_paths(root: &Path, base: &str) -> Result<ChangedPaths>
Expand description

Compute the changed path set between the tree of commit base and the current working tree of the repo at root. Untracked files count as additions; renames are surfaced as a delete of the old path plus an add of the new one (uniform A/M/D — no rename tracking). Paths are repo-relative, /-separated, and sorted.