func (repo *Repository) Empty() bool { return bool(C.git_repository_is_empty(repo.git_repository) == 1) }
// Returns whether or not a repository is empty. func (r Repository) IsEmpty() bool { empty := int(C.git_repository_is_empty(r.repo)) return empty == 1 }