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

Method growthBytes

src/db/wal-valve.ts:132–134  ·  view source on GitHub ↗

Un-backfilled growth estimate: bytes the WAL has grown past the last full backfill.

()

Source from the content-addressed store, hash-verified

130
131 /** Un-backfilled growth estimate: bytes the WAL has grown past the last full backfill. */
132 private growthBytes(): number {
133 return this.db.getWalSizeBytes() - this.sizeAtLastFullBackfill;
134 }
135
136 /** Begin watching the WAL. Idempotent; the timer never holds the loop open. */
137 start(): void {

Callers 3

checkMethod · 0.95
backpressureMethod · 0.95
foldNowMethod · 0.95

Calls 1

getWalSizeBytesMethod · 0.80

Tested by

no test coverage detected