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

Function fileExistsInRepo

stash_test.go:193–198  ·  view source on GitHub ↗
(repo *Repository, name string)

Source from the content-addressed store, hash-verified

191}
192
193func fileExistsInRepo(repo *Repository, name string) bool {
194 if _, err := os.Stat(pathInRepo(repo, name)); err != nil {
195 return false
196 }
197 return true
198}

Callers 1

TestStashFunction · 0.85

Calls 1

pathInRepoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…