コード例 #1
0
ファイル: repository.go プロジェクト: jgrocho/go-git2
func (repo *Repository) Path() string {
	return C.GoString(C.git_repository_path(repo.git_repository))
}
コード例 #2
0
ファイル: repository.go プロジェクト: tmc/goit
// Returns the filesystem path the repository resides at.
func (r Repository) Path() string {
	return C.GoString(C.git_repository_path(r.repo))
}