(path: string)
| 7 | * Extract file name from path |
| 8 | */ |
| 9 | export const getFileName = (path: string): string => { |
| 10 | const parts = path.split('/'); |
| 11 | return parts[parts.length - 1] || ''; |
| 12 | }; |
| 13 | |
| 14 | /** |
| 15 | * Get parent path |
no outgoing calls
no test coverage detected