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.
| 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. |
| 14 | type 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. |
| 24 | type detectionCandidate struct { |
nothing calls this directly
no outgoing calls
no test coverage detected