MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / locateFile

Function locateFile

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

Source from the content-addressed store, hash-verified

1539 var _scriptName = import.meta.url;
1540 var scriptDirectory = "";
1541 function locateFile(path) {
1542 if (Module["locateFile"]) {
1543 return Module["locateFile"](path, scriptDirectory);
1544 }
1545 return scriptDirectory + path;
1546 }
1547 __name(locateFile, "locateFile");
1548 var readAsync, readBinary;
1549 if (ENVIRONMENT_IS_NODE) {

Callers 4

initMethod · 0.70
nMethod · 0.70
findWasmBinaryFunction · 0.70
loadLibDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected