affected_cache_root

Function affected_cache_root 

Source
pub fn affected_cache_root() -> Result<PathBuf>
Expand description

Cache root for the cargo ktstr affected per-scheduler input-set cache.

Exposed as pub (unlike the crate-internal resolve_cache_root_with_suffix) because the affected engine lives in the cargo-ktstr BIN crate, a separate crate that reaches it as ktstr::cache::affected_cache_root(). Runs the same KTSTR_CACHE_DIR -> $XDG_CACHE_HOME -> $HOME/.cache cascade as every other ktstr cache, under the affected suffix.