MCPcopy Create free account
hub / github.com/libgit2/git2go / Path

Method Path

repository.go:681–685  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679}
680
681func (repo *Repository) Path() string {
682 s := C.GoString(C.git_repository_path(repo.ptr))
683 runtime.KeepAlive(repo)
684 return s
685}
686
687func (repo *Repository) IsBare() bool {
688 ret := C.git_repository_is_bare(repo.ptr) != 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected