Expand description
Shared progress counters for index builds (BM25, semantic, graph). Build code reports here; CLI / status_json read snapshots. Decouples builders from the orchestrator (no module cycles).
Prefer ProgressGuard at phase boundaries so counters clear on every exit
path (including panics via Drop).
Structs§
- Progress
Guard - Clears the component counter when dropped (including panic unwind).
- Progress
Snapshot
Enums§
Functions§
- clear
- clear_
root - get
- report
- Report progress for a project root + component.
total == 0means indeterminate (spinner / bouncing arrow). - report_
bm25 - Convenience for BM25 file-count progress (avoids repeating the component).