Skip to main content

resolve_cache_root

Function resolve_cache_root 

Source
pub fn resolve_cache_root(
    explicit: Option<PathBuf>,
    env_var: &str,
) -> Result<CacheRoot>
Expand description

Resolve the cache root for one group: explicit (CLI --dir) wins, then env_var (e.g. "WINDOWS_HEADLESS_QEMU_DIR"), then workspace discovery, then the OS user cache. Announces cache: <path> (<source>).