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

Function scalar

scripts/agent-eval/diff-index-drift.mjs:42–42  ·  view source on GitHub ↗
(db, q)

Source from the content-addressed store, hash-verified

40const rebuilt = open(rebuiltPath);
41
42const scalar = (db, q) => db.prepare(q).get().n;
43const edgeKey = (r) => `${r.source}\u0000${r.target}\u0000${r.kind}`;
44
45const liveEdges = live.prepare('select source, target, kind from edges').all();

Callers 1

Calls 2

getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected