Skip to main content

default_cache_path

Function default_cache_path 

Source
pub fn default_cache_path() -> PathBuf
Expand description

Default shard path: $ZSHRS_HOME/scripts.rkyv (default ~/.zshrs/scripts.rkyv).

This was the one cache that ignored $ZSHRS_HOME. Every other store honours it — autoload_cache::default_cache_path, compsys::cache::default_cache_path, the daemon’s CachePaths (daemon/paths.rs) — so a test or a session pointed at an isolated home still read and WROTE the real ~/.zshrs/scripts.rkyv, which is both a leak out of the isolation and a writer the isolated run never accounted for.