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

Function load

scripts/agent-eval/probe-file-spend.mjs:70–70  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

68const pct = (f) => `${(f * 100).toFixed(1)}%`;
69
70const load = (rel) => import(pathToFileURL(resolve(rel)).href);
71const idx = await load('dist/index.js');
72const toolsMod = await load('dist/mcp/tools.js');
73const CodeGraph = idx.default?.default ?? idx.default ?? idx.CodeGraph;

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected