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

Function getZipImageCached

src/utils/zipImageFiles.ts:24–26  ·  view source on GitHub ↗
(imageName: string)

Source from the content-addressed store, hash-verified

22 * Returns undefined if not yet extracted.
23 */
24export function getZipImageCached(imageName: string): File | undefined {
25 return zipImageState.getCached(imageName);
26}
27
28/**
29 * Get a cached ZIP mask (synchronous).

Callers 4

getImageFunction · 0.90
getImageSyncFunction · 0.90
prefetchImagesFunction · 0.90

Calls 1

getCachedMethod · 0.80

Tested by

no test coverage detected