(rootPath: string)
| 302 | } |
| 303 | |
| 304 | function forgetProjectPath(rootPath: string): void { |
| 305 | const rootKey = normalizeRootKey(rootPath); |
| 306 | projectSourcesByKey.delete(rootKey); |
| 307 | projectAccessOrder.delete(rootKey); |
| 308 | if (activeProjectKey === rootKey) { |
| 309 | activeProjectKey = undefined; |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | function formatProjectLabel(rootPath: string): string { |
| 314 | const knownRootLabel = getKnownRootLabel(rootPath); |
no test coverage detected