MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / load

Function load

scripts/agent-eval/probe-sweep.mjs:22–22  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

20const TOOL = args.tool ?? 'context';
21
22const load = (rel) => import(pathToFileURL(resolve(rel)).href);
23const idx = await load('dist/index.js');
24const tools = await load('dist/mcp/tools.js');
25const CodeGraph = idx.default?.default ?? idx.default ?? idx.CodeGraph;

Callers 1

probe-sweep.mjsFile · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected