Expand description
Batched PR-status cache for gw list.
Calls gh pr list once per gw invocation (instead of gh pr view per
worktree) and persists the result under
~/.cache/gw/pr-status-<repo-hash>.json with a 60-second TTL. On any
failure (gh missing, disk error, corrupt file), PrCache::load_or_fetch
returns an empty cache so callers fall back to git branch --merged.
Structs§
Enums§
- PrState
- Typed PR state as returned by
gh pr list.