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

Method getStats

src/index.ts:1220–1224  ·  view source on GitHub ↗

* Get statistics about the knowledge graph

()

Source from the content-addressed store, hash-verified

1218 * Get statistics about the knowledge graph
1219 */
1220 getStats(): GraphStats {
1221 const stats = this.queries.getStats();
1222 stats.dbSizeBytes = this.db.getSize();
1223 return stats;
1224 }
1225
1226 /**
1227 * Active SQLite backend for this project's connection (`node-sqlite` — Node's

Callers 11

sync.test.tsFile · 0.45
graphCountsFunction · 0.45
resolution.test.tsFile · 0.45
graph.test.tsFile · 0.45
watcher.test.tsFile · 0.45
foundation.test.tsFile · 0.45

Calls 1

getSizeMethod · 0.80

Tested by 1

graphCountsFunction · 0.36