( input: string, platform = process.platform, )
| 111 | } |
| 112 | |
| 113 | function isAbsoluteNormalizedUserPath( |
| 114 | input: string, |
| 115 | platform = process.platform, |
| 116 | ): boolean { |
| 117 | if (hasWindowsDriveLetter(input)) { |
| 118 | return true; |
| 119 | } |
| 120 | |
| 121 | return platform === "win32" |
| 122 | ? win32.isAbsolute(input) |
| 123 | : isAbsolute(input); |
| 124 | } |
| 125 | |
| 126 | export function isAbsoluteUserPath( |
| 127 | input: string, |
no test coverage detected