Function gix_discover::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.