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

Method Workdir

repository.go:693–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

691}
692
693func (repo *Repository) Workdir() string {
694 s := C.GoString(C.git_repository_workdir(repo.ptr))
695 runtime.KeepAlive(repo)
696 return s
697}
698
699func (repo *Repository) SetWorkdir(workdir string, updateGitlink bool) error {
700 cstr := C.CString(workdir)

Callers 8

TestRemotePruneFunction · 0.80
cleanupTestRepoFunction · 0.80
TestStatusFileFunction · 0.80
TestStatusListFunction · 0.80
TestIndexWriteTreeToFunction · 0.80
TestIndexAddAllCallbackFunction · 0.80
TestIndexOpenFunction · 0.80

Calls

no outgoing calls

Tested by 8

TestRemotePruneFunction · 0.64
cleanupTestRepoFunction · 0.64
TestStatusFileFunction · 0.64
TestStatusListFunction · 0.64
TestIndexWriteTreeToFunction · 0.64
TestIndexAddAllCallbackFunction · 0.64
TestIndexOpenFunction · 0.64