(filePath: string)
| 1 | export const getFileName = (filePath: string): string => { |
| 2 | const lastIndexOfSlash = filePath.lastIndexOf("/"); |
| 3 | return filePath.slice(lastIndexOfSlash + 1); |
| 4 | }; |
| 5 | |
| 6 | export const calculateNearestUniquePath = ( |
| 7 | currentPath: string, |
no outgoing calls
no test coverage detected