Skip to main content

ignored_paths

Function ignored_paths 

Source
pub fn ignored_paths(repo_root: &Path) -> Result<Vec<String>, GitError>
Expand description

Returns a list of gitignored paths (tracked ignore + local excludes).

Uses git ls-files -i -o --exclude-standard -z --directory to get NUL-delimited paths relative to the repo root.