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

Method getStats

src/index.ts:2425–2430  ·  view source on GitHub ↗

* Get statistics about the knowledge graph

()

Source from the content-addressed store, hash-verified

2423 * Get statistics about the knowledge graph
2424 */
2425 getStats(): GraphStats {
2426 const stats = this.queries.getStats();
2427 stats.dbSizeBytes = this.db.getSize();
2428 stats.walSizeBytes = this.db.getWalSizeBytes();
2429 return stats;
2430 }
2431
2432 /**
2433 * 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