Skip to main content

changed_files

Function changed_files 

Source
pub fn changed_files(
    root: &Path,
    git_ref: &str,
) -> Result<FxHashSet<PathBuf>, ChangedFilesError>
Expand description

Resolve changed files for a git ref relative to a project root.

ยงErrors

Returns an error when git cannot resolve the ref or repository state.