git

Function git 

Source
pub fn git(path: &Path) -> Result<String>
Expand description

Returns a string representation of the git status of this path. Will return an empty string if we’re not in a git repository.