MCPcopy
hub / github.com/colbymchenry/codegraph / edgeCount

Function edgeCount

__tests__/db-perf.test.ts:276–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274 });
275
276 const edgeCount = () =>
277 (db.getDb().prepare('SELECT count(*) AS c FROM edges').get() as { c: number }).c;
278 const mk = (over: Partial<Edge> = {}): Edge => ({
279 source: 'A',
280 target: 'B',

Callers 1

db-perf.test.tsFile · 0.85

Calls 3

getDbMethod · 0.80
getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected