(path: any)
| 23 | |
| 24 | export function createPath(opts: { cwd?: () => string } = {}): Path { |
| 25 | function assertPath(path: any) { |
| 26 | if (typeof path !== 'string') { |
| 27 | throw new TypeError('Path must be a string. Received ' + JSON.stringify(path)); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | // Resolves . and .. elements in a path with directory names |
| 32 | function normalizeStringPosix(path: string, allowAboveRoot: boolean): string { |
no outgoing calls
no test coverage detected
searching dependent graphs…