Expand description
The CacheReader handle: a read-only, filesystem-bound view
onto the cache tree at <workspace-root>/.haz/cache per
crate::layout.
The bound is the read-only Filesystem trait, NOT
WritableFilesystem. The compiler enforces what AUX-018 /
AUX-020 declare in prose: no method reachable through a
CacheReader can create, remove, rename, or modify any path
under the cache root, because the trait it speaks against does
not expose those operations.
Read-only operations on cache state live in sibling modules:
crate::lookup for lookup / lookup_status (CACHE-014),
crate::info for info (AUX-017..AUX-021).
Structsยง
- Cache
Reader - Read-only handle to the cache tree rooted at
<workspace_root>/.haz/cache, parameterised over aFilesystembackend.