MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / findWasmBinary

Function findWasmBinary

website/public/wasm/web-tree-sitter.js:1708–1713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1706 __name(abort, "abort");
1707 var wasmBinaryFile;
1708 function findWasmBinary() {
1709 if (Module["locateFile"]) {
1710 return locateFile("web-tree-sitter.wasm");
1711 }
1712 return new URL("web-tree-sitter.wasm", import.meta.url).href;
1713 }
1714 __name(findWasmBinary, "findWasmBinary");
1715 function getBinarySync(file) {
1716 if (file == wasmBinaryFile && wasmBinary) {

Callers 1

createWasmFunction · 0.85

Calls 1

locateFileFunction · 0.70

Tested by

no test coverage detected