pub fn read_cache_entry_allow_stale(
target_file: &Path,
) -> Result<StaleCacheRead>Expand description
Reads the cached entry without rejecting stale data, reporting whether it is past the freshness TTL.
Unlike read_cache_entry_for_cached_mode (which enforces the TTL for the
explicit --cached mode), this serves the last-known values regardless of
age so the diag command can degrade gracefully when a live fetch yields no
usable window. Callers surface the stale flag to the user.