(path: string)
| 57 | } |
| 58 | |
| 59 | export function getPathSuffixes(path: string): string[] { |
| 60 | const parts = normalizeImagePath(path).split('/'); |
| 61 | const suffixes: string[] = []; |
| 62 | |
| 63 | for (let i = 0; i < parts.length; i++) { |
| 64 | suffixes.push(parts.slice(i).join('/')); |
| 65 | } |
| 66 | |
| 67 | return suffixes; |
| 68 | } |
| 69 | |
| 70 | export function isAuxiliaryImagePath(path: string): boolean { |
| 71 | const segments = normalizeImagePath(path) |
no test coverage detected