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

Function pathInRepo

git_test.go:144–146  ·  view source on GitHub ↗
(repo *Repository, name string)

Source from the content-addressed store, hash-verified

142}
143
144func pathInRepo(repo *Repository, name string) string {
145 return path.Join(path.Dir(path.Dir(repo.Path())), name)
146}
147
148func updateReadme(t *testing.T, repo *Repository, content string) (*Oid, *Oid) {
149 loc, err := time.LoadLocation("Europe/Berlin")

Callers 6

readReadmeFunction · 0.85
TestStashFunction · 0.85
prepareStashRepoFunction · 0.85
fileExistsInRepoFunction · 0.85
TestResetToCommitFunction · 0.85
updateReadmeFunction · 0.85

Calls 1

PathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…