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

Struct DetectionResult

internal/cli/quickstart_detect.go:14–21  ·  view source on GitHub ↗

DetectionResult holds the values resolved by scanning the working directory. Fields are empty/zero when not detected. AmbiguousFrameworks is populated when multiple package.json deps match and the framework cannot be determined uniquely.

Source from the content-addressed store, hash-verified

12// Fields are empty/zero when not detected. AmbiguousFrameworks is populated when
13// multiple package.json deps match and the framework cannot be determined uniquely.
14type DetectionResult struct {
15 Framework string
16 Type string // "spa" | "regular" | "native".
17 BuildTool string // "vite" | "maven" | "gradle" | "composer" | "" (NA).
18 BundleID string // Package/bundle ID for native apps (e.g. "com.example.myapp"); empty if not found.
19 Detected bool // True if any signal file matched.
20 AmbiguousFrameworks []string // Set when >1 package.json dep matched.
21}
22
23// detectionCandidate is used internally during package.json dep scanning.
24type detectionCandidate struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected