(entryPath: string | undefined, fileName: string)
| 120 | } |
| 121 | |
| 122 | export function buildArchiveEntryPath(entryPath: string | undefined, fileName: string): string { |
| 123 | if (!entryPath) { |
| 124 | return fileName; |
| 125 | } |
| 126 | |
| 127 | const dir = entryPath.endsWith('/') ? entryPath : `${entryPath}/`; |
| 128 | return `${dir}${fileName}`; |
| 129 | } |
| 130 | |
| 131 | export function getArchiveImageLookupKeys(fullPath: string): string[] { |
| 132 | return getImagePathLookupSuffixes(fullPath); |
no outgoing calls
no test coverage detected