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

Method getStats

src/index.ts:1289–1294  ·  view source on GitHub ↗

* Get statistics about the knowledge graph

()

Source from the content-addressed store, hash-verified

1287 * Get statistics about the knowledge graph
1288 */
1289 getStats(): GraphStats {
1290 const stats = this.queries.getStats();
1291 stats.dbSizeBytes = this.db.getSize();
1292 stats.walSizeBytes = this.db.getWalSizeBytes();
1293 return stats;
1294 }
1295
1296 /**
1297 * Active SQLite backend for this project's connection (`node-sqlite` — Node's

Calls 2

getSizeMethod · 0.80
getWalSizeBytesMethod · 0.80

Tested by 1

graphCountsFunction · 0.36