MCPcopy Create free account
hub / github.com/auth0/auth0-cli / fileExists

Function fileExists

internal/cli/quickstart_detect.go:391–394  ·  view source on GitHub ↗
(dir, name string)

Source from the content-addressed store, hash-verified

389}
390
391func fileExists(dir, name string) bool {
392 _, err := os.Stat(filepath.Join(dir, name))
393 return err == nil
394}
395
396func fileExistsAny(dir string, names ...string) bool {
397 for _, name := range names {

Callers 3

DetectProjectFunction · 0.85
fileExistsAnyFunction · 0.85
detectBuildToolFromFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected