Function git_repository::path::is_git::is_bare[][src]

pub fn is_bare(git_dir: impl AsRef<Path>) -> bool
Expand description

Returns true if the given git_dir seems to be a bare repository.

Please note that repositories without any file in their work tree will also appear bare.