MCPcopy
hub / github.com/colbymchenry/codegraph / getStats

Method getStats

src/index.ts:818–822  ·  view source on GitHub ↗

* Get statistics about the knowledge graph

()

Source from the content-addressed store, hash-verified

816 * Get statistics about the knowledge graph
817 */
818 getStats(): GraphStats {
819 const stats = this.queries.getStats();
820 stats.dbSizeBytes = this.db.getSize();
821 return stats;
822 }
823
824 /**
825 * Active SQLite backend for this project's connection (`node-sqlite` — Node's

Callers 10

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