(message)
| 20086 | return true; |
| 20087 | }); |
| 20088 | } |
| 20089 | function isRooted(p) { |
| 20090 | p = normalizeSeparators(p); |
| 20091 | if (!p) { |
| 20092 | throw new Error('isRooted() parameter "p" cannot be empty'); |
| 20093 | } |
| 20094 | if (IS_WINDOWS) { |
| 20095 | return p.startsWith("\\") || /^[A-Z]:/i.test(p); |
no outgoing calls
no test coverage detected