Documentation
¶
Overview ¶
Package cache provides the ONE shared persistent-cache mechanism for the status hot path (R3 — the image list, the image labels, and the submodule verdicts all use the same read-file → unmarshal → TTL-check → miss path and the same atomic write). The caches live under the charly dir (~/.config/charly/cache/), keyed by a content key, with a TTL policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Invalidate ¶
func Invalidate(path string)
Invalidate removes the cache file (the build/deploy commands call this when a new image is created, so the next status run re-fetches the fresh list).
Types ¶
Click to show internal directories.
Click to hide internal directories.