Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.ts
File · 0.85
Calls
3
getDb
Method · 0.80
get
Method · 0.65
prepare
Method · 0.65
Tested by
no test coverage detected