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

Method getIndexRevision

src/index.ts:2227–2229  ·  view source on GitHub ↗

* How far the last sync got and how many files it left behind — the cheapest * marker of "has this index moved". One query; safe to call on every * filesystem event a live viewer sees.

()

Source from the content-addressed store, hash-verified

2225 * filesystem event a live viewer sees.
2226 */
2227 getIndexRevision(): { lastIndexedAt: number | null; fileCount: number } {
2228 return this.queries.getIndexRevision();
2229 }
2230
2231 /**
2232 * Files re-indexed strictly after `since`, newest first — what a sync just

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected