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

Method getStats

src/index.ts:1220–1225  ·  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 stats.walSizeBytes = this.db.getWalSizeBytes();
1224 return stats;
1225 }
1226
1227 /**
1228 * 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 2

getSizeMethod · 0.80
getWalSizeBytesMethod · 0.80

Tested by 1

graphCountsFunction · 0.36