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

Function getImageSync

src/dataset/datasetSourceAdapters.ts:41–43  ·  view source on GitHub ↗
(state, imageName)

Source from the content-addressed store, hash-verified

39 return getImageFile(state.loadedFiles?.imageFiles, imageName) ?? null;
40 },
41 getImageSync(state, imageName) {
42 return getImageFile(state.loadedFiles?.imageFiles, imageName);
43 },
44 async getMask(state, imageName) {
45 return getMaskFile(state.loadedFiles?.imageFiles, imageName) ?? null;
46 },

Callers

nothing calls this directly

Calls 3

getImageFileFunction · 0.90
getUrlImageCachedFunction · 0.90
getZipImageCachedFunction · 0.90

Tested by

no test coverage detected