(path: string)
| 155 | |
| 156 | // Path utilities |
| 157 | private normalizePath(path: string): string { |
| 158 | return path.replace(/\\/g, '/').replace(/\/+/g, '/').replace(/^\//, '').replace(/\/$/, ''); |
| 159 | } |
| 160 | |
| 161 | private getParentPath(path: string): string { |
| 162 | const lastSlash = path.lastIndexOf('/'); |