Skip to main content

is_git_directory

Function is_git_directory 

Source
pub fn is_git_directory(path: &Path) -> bool
Expand description

Returns true if path looks like a git directory (HEAD and objects/ exist).