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

Method getStats

src/index.ts:2400–2405  ·  view source on GitHub ↗

* Get statistics about the knowledge graph

()

Source from the content-addressed store, hash-verified

2398 * Get statistics about the knowledge graph
2399 */
2400 getStats(): GraphStats {
2401 const stats = this.queries.getStats();
2402 stats.dbSizeBytes = this.db.getSize();
2403 stats.walSizeBytes = this.db.getWalSizeBytes();
2404 return stats;
2405 }
2406
2407 /**
2408 * Active SQLite backend for this project's connection (`node-sqlite` — Node's

Calls 2

getSizeMethod · 0.80
getWalSizeBytesMethod · 0.80

Tested by 2

indexStateFunction · 0.36
graphCountsFunction · 0.36