Expand description
Facade tying the VCS backend, session, and store together: the one entry point the TUI and MCP layers consume.
Structs§
- File
Snapshot - One file as the file view reads it: worktree text plus per-line blame.
- Refreshed
- One landed off-thread refresh.
- Review
- Walkthrough
Files - The result of
Review::compute_walkthrough_files: every file it could read, plus whether the revision it was asked to pin to still resolves.
Enums§
Functions§
- pinned_
diff - The freshly fetched diff for a commit, range, or PR review source,
straight from the backend: the one place each variant’s vcs call is
made, whether the caller reads it on the UI thread or off it.
pr_headis the PR’s own(merge_base, head), resolved by the caller since a PR’s range lives in app state;Nonerejects an unresolved PR, so it is never silently read as unchanged.WorkingTree,Walkthrough, andAgainstcarry no pinned diff of their own and read back empty.