MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / load

Function load

scripts/agent-eval/probe-named-symbol.mjs:35–35  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

33const REPO = resolve(HERE, '..', '..');
34
35const load = async (rel) => import(pathToFileURL(resolve(REPO, rel)).href);
36const idxMod = await load('dist/index.js');
37const toolsMod = await load('dist/mcp/tools.js');
38const CodeGraph = idxMod.default?.default ?? idxMod.default ?? idxMod.CodeGraph;

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected