* A interface to the path in the node.js.
| 8 | * A interface to the path in the node.js. |
| 9 | */ |
| 10 | interface Path { |
| 11 | normalize(p: string): string; |
| 12 | join(...paths: string[]): string; |
| 13 | resolve(...pathSegments: string[]): string; |
| 14 | isAbsolute(p: string): boolean; |
| 15 | relative(from: string, to: string): string; |
| 16 | dirname(p: string): string; |
| 17 | basename(p: string, ext?: string): string; |
| 18 | extname(p: string): string; |
| 19 | sep: string; |
| 20 | delimiter: string; |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Separate a partial path or full path into dirname and the basename. |
no outgoing calls
no test coverage detected