MCPcopy Create free account
hub / github.com/nikivdev/go / fileExists

Function fileExists

cli/spec/main.go:1126–1129  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1124}
1125
1126func fileExists(path string) bool {
1127 _, err := os.Stat(path)
1128 return err == nil
1129}
1130
1131func currentBranch(repoRoot string) string {
1132 if repoRoot == "" {

Callers 1

findGitRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected