(path: string)
| 431 | }, |
| 432 | |
| 433 | isAbsolute(path: string): boolean { |
| 434 | validateString(path, 'path'); |
| 435 | const len = path.length; |
| 436 | if (len === 0) { |
| 437 | return false; |
| 438 | } |
| 439 | |
| 440 | const code = path.charCodeAt(0); |
| 441 | return ( |
| 442 | isPathSeparator(code) || |
| 443 | // Possible device root |
| 444 | (len > 2 && |
| 445 | isWindowsDeviceRoot(code) && |
| 446 | path.charCodeAt(1) === CHAR_COLON && |
| 447 | isPathSeparator(path.charCodeAt(2))) |
| 448 | ); |
| 449 | }, |
| 450 | |
| 451 | join(...paths: string[]): string { |
| 452 | if (paths.length === 0) { |
nothing calls this directly
no test coverage detected