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

Function isArchiveColmapPath

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

Source from the content-addressed store, hash-verified

58}
59
60export function isArchiveColmapPath(path: string): boolean {
61 const filename = path.split('/').pop()?.toLowerCase() ?? '';
62 return COLMAP_FILENAMES.has(filename);
63}
64
65export function isArchivePlyPath(path: string): boolean {
66 return path.toLowerCase().endsWith('.ply');

Callers 2

processZipArchiveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected