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

Function getUrlImageCached

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

Source from the content-addressed store, hash-verified

48 * Returns undefined if not yet fetched.
49 */
50export function getUrlImageCached(imageName: string): File | undefined {
51 return urlImageState.getCached(imageName);
52}
53
54/**
55 * Get a cached URL mask (synchronous).

Callers 3

getImageFunction · 0.90
getImageSyncFunction · 0.90

Calls 1

getCachedMethod · 0.80

Tested by

no test coverage detected