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

Method getIndexRevision

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

2174 * filesystem event a live viewer sees.
2175 */
2176 getIndexRevision(): { lastIndexedAt: number | null; fileCount: number } {
2177 return this.queries.getIndexRevision();
2178 }
2179
2180 /**
2181 * 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