Skip to main content

global_cache_root

Function global_cache_root 

Source
pub fn global_cache_root() -> Result<PathBuf, MarsError>
Expand description

Resolve the global cache root directory.

Resolution order:

  1. MARS_CACHE_DIR env var
  2. OS cache directory + mars/cache
  3. {cwd}/.mars/cache fallback