(path: string)
| 11 | } |
| 12 | |
| 13 | export async function toWslPath(path: string): Promise<string> { |
| 14 | return (await executeCommand("wsl", ["wslpath", "-u", `"${path.replace(/\\/g, "/")}"`])).trim(); |
| 15 | } |
| 16 | |
| 17 | export async function toWinPath(path: string): Promise<string> { |
| 18 | if (path.startsWith("\\mnt\\")) { |
no test coverage detected