Expand description
On-disk cache for the update check at ~/.config/dsp-cli/update_check.toml.
See ADR-0015.
Modeled on crate::config::auth_cache::AuthCache, with two deliberate
differences:
- This cache is a single flat struct (one file, two fields), not a
per-server
BTreeMap. - A malformed/oversize/unreadable file is never an error. Every load
failure degrades to
UpdateCheckCache::default(logged attracing::debug!). This cache is a disposable convenience — a corrupt copy must never break an unrelated command. - Saves are plain atomic writes (temp-sibling + rename) with no
0600permission tightening: this file holds no secret, unlikeauth.toml.
Structs§
- Update
Check Cache - In-memory view of
~/.config/dsp-cli/update_check.toml.