MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / fileExists

Function fileExists

app/cli/internal/policydevel/init.go:178–181  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

176}
177
178func fileExists(path string) bool {
179 _, err := os.Stat(path)
180 return !os.IsNotExist(err)
181}

Callers 1

writeFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected