Skip to main content

cache_root

Function cache_root 

Source
pub fn cache_root() -> Option<PathBuf>
Expand description

Resolve the shared mbx cache root from the environment, machine config, or platform default.

Match Config’s environment layer: a Unicode value overrides the file, while a non-Unicode value is skipped. An empty value overrides the file too, but names no usable directory (Config rejects it once loaded), so it resolves no root rather than a relative path.