(rootPath: string)
| 239 | } |
| 240 | |
| 241 | function getContainingKnownRoot(rootPath: string): string | undefined { |
| 242 | const orderedRoots = getKnownRootPaths().sort((a, b) => b.length - a.length); |
| 243 | return orderedRoots.find((knownRootPath) => isPathWithin(knownRootPath, rootPath)); |
| 244 | } |
| 245 | |
| 246 | function classifyProjectSource(rootPath: string): ProjectDescriptor['source'] { |
| 247 | const rootKey = normalizeRootKey(rootPath); |
no test coverage detected