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

Method getIndexRevision

src/index.ts:2232–2234  ·  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

2230 * filesystem event a live viewer sees.
2231 */
2232 getIndexRevision(): { lastIndexedAt: number | null; fileCount: number } {
2233 return this.queries.getIndexRevision();
2234 }
2235
2236 /**
2237 * 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