Expand description
Content-addressable disk cache for the GitHub provider, under ~/.cache/rootle/providers/github (plans/0005: each provider owns its cache subtree; the TUI-level edit/ scratch stays at ~/.cache/rootle). Trees are immutable (sha-keyed) — never invalidated, only evicted. Ref mappings (owner/repo/branch → tree_sha + etag) are mutable and revalidated with If-None-Match on every open.
Structs§
Functions§
- cached_
branch - harden
- Startup hardening: sweep orphans, then evict least-recently-used
blobs while total size exceeds
max_bytes. - read_
blob - read_
ref - read_
tree - write_
blob - write_
ref - write_
tree