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

Function getMaskSync

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

Source from the content-addressed store, hash-verified

45 return getMaskFile(state.loadedFiles?.imageFiles, imageName) ?? null;
46 },
47 getMaskSync(state, imageName) {
48 return getMaskFile(state.loadedFiles?.imageFiles, imageName);
49 },
50 async prefetchImages() {
51 // Local files don't need prefetching.
52 },

Callers

nothing calls this directly

Calls 3

getMaskFileFunction · 0.90
getUrlMaskCachedFunction · 0.90
getZipMaskCachedFunction · 0.90

Tested by

no test coverage detected