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

Function pull

src/hooks/urlLoaderManifestFetch.test.ts:469–476  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

467 controller.enqueue(new TextEncoder().encode('ply\nformat binary_little_endian 1.0\n'.padEnd(8192, ' ')));
468 },
469 pull(controller) {
470 pulls += 1;
471 if (pulls > 100) {
472 controller.close(); // safety: a broken bound would otherwise loop forever
473 return;
474 }
475 controller.enqueue(new Uint8Array(8192));
476 },
477 cancel,
478 });
479 const fetchImpl = vi.fn(async (url: string) =>

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected