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

Function edgeKey

scripts/agent-eval/diff-index-drift.mjs:43–43  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

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();
46const rebuiltEdges = rebuilt.prepare('select source, target, kind from edges').all();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected