(p: string)
| 23 | |
| 24 | // Normalize path separators to posix (/). Does NOT translate drive encoding. |
| 25 | function toPosix(p: string): string { |
| 26 | return p.split(win32.sep).join(posix.sep) |
| 27 | } |
| 28 | |
| 29 | // Convert a path to a stable string-comparable form: forward-slash separated, |
| 30 | // and on Windows, lowercased (Windows filesystems are case-insensitive). |