MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / buildArchiveEntryPath

Function buildArchiveEntryPath

src/utils/zipLoaderPolicy.ts:122–129  ·  view source on GitHub ↗
(entryPath: string | undefined, fileName: string)

Source from the content-addressed store, hash-verified

120}
121
122export 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
131export function getArchiveImageLookupKeys(fullPath: string): string[] {
132 return getImagePathLookupSuffixes(fullPath);

Callers 2

processZipArchiveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected