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

Function getUrlMaskCached

src/utils/urlImageFiles.ts:58–60  ·  view source on GitHub ↗
(imageName: string)

Source from the content-addressed store, hash-verified

56 * Returns undefined if not yet fetched.
57 */
58export function getUrlMaskCached(imageName: string): File | undefined {
59 return urlMaskState.getCached(imageName);
60}
61
62/**
63 * Resolve the request URL and display filename for an image. When an explicit

Callers 2

getMaskSyncFunction · 0.90

Calls 1

getCachedMethod · 0.80

Tested by

no test coverage detected