(path: string)
| 159 | } |
| 160 | |
| 161 | private getParentPath(path: string): string { |
| 162 | const lastSlash = path.lastIndexOf('/'); |
| 163 | return lastSlash > 0 ? path.substring(0, lastSlash) : ''; |
| 164 | } |
| 165 | |
| 166 | private getFileName(path: string): string { |
| 167 | return path.split('/').pop() || ''; |
no outgoing calls
no test coverage detected