MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / resolve

Function resolve

src/utils/imageSourceResolution.ts:62–65  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

60export const imagesDirStrategy: ImageSourceStrategy = {
61 id: 'images-dir',
62 resolve(ctx) {
63 const dir = resolveImagesDir(ctx.filePaths, { modelDir: ctx.modelDir });
64 return dir === null ? null : { kind: 'base-dir', imagesDir: dir };
65 },
66};
67
68/** Core strategies, lowest priority (general heuristics). */

Callers 15

toBlobFunction · 0.70
createWasmFunction · 0.50
useScreenshotBlobCaptureFunction · 0.50
checkFunction · 0.50
tickFunction · 0.50
integrity.test.tsFile · 0.50

Calls 1

resolveImagesDirFunction · 0.90

Tested by 3

makeWrapperInNodeFunction · 0.40
startDatasetServerFunction · 0.40
getScreenshotStatsFunction · 0.40