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

Function prefetchImages

src/dataset/datasetSourceAdapters.ts:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 return getMaskFile(state.loadedFiles?.imageFiles, imageName);
49 },
50 async prefetchImages() {
51 // Local files don't need prefetching.
52 },
53 hasImages(state) {
54 return (state.loadedFiles?.imageFiles?.size ?? 0) > 0;
55 },

Callers

nothing calls this directly

Calls 4

prefetchUrlImagesFunction · 0.90
isZipLoadingAvailableFunction · 0.90
getZipImageCachedFunction · 0.90
fetchZipImageFunction · 0.90

Tested by

no test coverage detected