pub fn cache_home() -> Option<PathBuf>Expand description
The cache root, <config-home>/lattice/cache/.
Lattice keeps every path it owns under one root (see
docs/dev/architecture/plugin-data-location.md), caches included — they
used to sit in dirs::cache_dir(), the last paths outside it. The cache
subdirectory names the one directory that is always safe to delete: every
entry is regenerable (wasmtime’s compiled modules, plugin source
checkouts, the picker’s MRU index).
None when no config home resolves, which callers read as “persistence
disabled” rather than an error.