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

Function createParsers

src/hooks/fileDropzoneRigData.test.ts:10–17  ·  view source on GitHub ↗
(rigData = createRigData())

Source from the content-addressed store, hash-verified

8}
9
10function createParsers(rigData = createRigData()): RigDataParsers {
11 return {
12 parseRigsBinary: vi.fn(() => rigData.rigs),
13 parseRigsText: vi.fn(() => rigData.rigs),
14 parseFramesBinary: vi.fn(() => rigData.frames),
15 parseFramesText: vi.fn(() => rigData.frames),
16 };
17}
18
19function textFile(name: string, contents: string): File {
20 return buildTextFile(name, contents);

Callers 1

Calls 1

createRigDataFunction · 0.70

Tested by

no test coverage detected