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

Function load

scripts/agent-eval/probe-factory-closure.mjs:44–44  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

42const num = (n) => Math.round(n).toLocaleString('en-US');
43
44const load = (rel) => import(pathToFileURL(resolve(REPO_ROOT, rel)).href);
45if (!existsSync(join(REPO_ROOT, 'dist/index.js'))) {
46 console.error('dist/ not built — run `npm run build` first.');
47 process.exit(2);

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected