MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / isArchiveImagePath

Function isArchiveImagePath

src/utils/zipLoaderPolicy.ts:55–58  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

53}
54
55export function isArchiveImagePath(path: string): boolean {
56 const lower = path.toLowerCase();
57 return IMAGE_EXTENSIONS.some(ext => lower.endsWith(ext));
58}
59
60export function isArchiveColmapPath(path: string): boolean {
61 const filename = path.split('/').pop()?.toLowerCase() ?? '';

Callers 2

processZipArchiveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected