Skip to main content

contains_git_tracked_files

Function contains_git_tracked_files 

Source
pub fn contains_git_tracked_files(path: &Path) -> Result<bool>
Expand description

Returns true when Git tracks the candidate itself or any content below it.

ยงErrors

Returns an error when Git is installed but cannot inspect an applicable repository.