gix_discover

Function is_bare

Source
pub fn is_bare(git_dir_candidate: &Path) -> bool
Expand description

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

Please note that repositories without an index generally look bare, even though they might also be uninitialized.