Skip to main content

changed_files

Function changed_files 

Source
pub fn changed_files(
    root: &Utf8Path,
    base: Option<&str>,
) -> Option<FxHashSet<String>>
Expand description

Return the set of changed file paths (relative to root), or None if this isn’t a git repo / git is unavailable. Includes unstaged, staged, untracked, and (if base is given) everything changed since the merge-base with base.