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

Function load

scripts/agent-eval/repro-concurrent-explore.mjs:26–26  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

24const TIMEOUT_MS = Number(timeoutRaw) || 60000; // ~ MCP SDK default request timeout
25
26const load = async (rel) => import(pathToFileURL(resolve(rel)).href);
27const idx = await load('dist/index.js');
28const tools = await load('dist/mcp/tools.js');
29const CodeGraph = idx.default?.default ?? idx.default ?? idx.CodeGraph;

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected