Skip to main content

changed_files

Function changed_files 

Source
pub fn changed_files(
    cwd: &Path,
    reference: &str,
) -> Result<Vec<PathBuf>, GitError>
Expand description

Every path that differs between reference and the working tree (committed since, staged, modified, deleted, renamed) plus every untracked file .gitignore does not exclude; relative to cwd, sorted, without duplicates. Paths outside cwd are not reported.