func (repo *Repository) IsBare() bool { return C.git_repository_is_bare(repo.ptr) != 0 }
func (repo *Repository) Bare() bool { return bool(C.git_repository_is_bare(repo.git_repository) == 1) }
// Returns whether or not a repository is bare. func (r Repository) IsBare() bool { bare := int(C.git_repository_is_bare(r.repo)) return bare == 1 }