Wrap git_repository_is_bare #14

Merged
Merovius merged 1 commits from isbare into master 2013-04-25 19:39:57 -05:00
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@ func (repo *Repository) Path() string {
return C.GoString(C.git_repository_path(repo.ptr))
}
func (repo *Repository) IsBare() (bool) {
return C.git_repository_is_bare(repo.ptr) != 0
}
func (repo *Repository) Workdir() string {
return C.GoString(C.git_repository_workdir(repo.ptr))
}