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