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

Function fileExistsAny

internal/cli/quickstart_detect.go:396–403  ·  view source on GitHub ↗
(dir string, names ...string)

Source from the content-addressed store, hash-verified

394}
395
396func fileExistsAny(dir string, names ...string) bool {
397 for _, name := range names {
398 if fileExists(dir, name) {
399 return true
400 }
401 }
402 return false
403}
404
405const maxDetectionFileSize = 10 * 1024 * 1024 // 10 MB.
406

Callers 2

DetectProjectFunction · 0.85
detectBuildToolFromFilesFunction · 0.85

Calls 1

fileExistsFunction · 0.85

Tested by

no test coverage detected