(rootPath: string)
| 222 | } |
| 223 | |
| 224 | function registerKnownRoot(rootPath: string): string { |
| 225 | const resolvedRootPath = path.resolve(rootPath); |
| 226 | knownRoots.set(normalizeRootKey(resolvedRootPath), { rootPath: resolvedRootPath }); |
| 227 | rememberProjectPath(resolvedRootPath, 'root'); |
| 228 | return resolvedRootPath; |
| 229 | } |
| 230 | |
| 231 | function getKnownRootPaths(): string[] { |
| 232 | return Array.from(knownRoots.values()) |
no test coverage detected