Function git_repository::discover::is_bare
source · [−]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.