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

Method getSize

src/db/index.ts:457–460  ·  view source on GitHub ↗

* Get database file size in bytes

()

Source from the content-addressed store, hash-verified

455 * Get database file size in bytes
456 */
457 getSize(): number {
458 const stats = fs.statSync(this.dbPath);
459 return stats.size;
460 }
461
462 /**
463 * Size of the `-wal` sidecar file in bytes. 0 when it doesn't exist (non-WAL

Callers 1

getStatsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected