Skip to main content

get_changed_files

Function get_changed_files 

Source
pub fn get_changed_files(
    root: &Path,
    git_ref: &str,
) -> Option<FxHashSet<PathBuf>>
Expand description

Get files changed since a git ref. Returns None on git failure after printing a warning to stderr. Used by --changed-since and --file, where a failure falls back to full-scope analysis.