(path: string)
| 31 | } |
| 32 | |
| 33 | export function extname(path: string): string { |
| 34 | const match = EXTNAME_REGEX.exec(basename(path)!); |
| 35 | return match ? match[0] : ''; |
| 36 | } |
| 37 | |
| 38 | export function join(...segments: string[]): string { |
| 39 | const joined = segments.join('/'); |
no test coverage detected
searching dependent graphs…