(path: string)
| 11 | const normalizationCache = new Map<string, string>(); |
| 12 | |
| 13 | export function normalizePath(path: string): string { |
| 14 | let result = normalizationCache.get(path); |
| 15 | |
| 16 | if (result === undefined) { |
| 17 | result = nodePath.win32.normalize(path).replace(/\\/g, nodePath.posix.sep); |
| 18 | normalizationCache.set(path, result); |
| 19 | } |
| 20 | |
| 21 | return result; |
| 22 | } |
| 23 | |
| 24 | const externalizationCache = new Map<string, string>(); |
| 25 |
no test coverage detected