Skip to main content

default_location

Function default_location 

Source
pub fn default_location(
    base: &Path,
    user_cache_dir: Option<&Path>,
) -> Option<PathBuf>
Expand description

The cache location a host uses when the user named none, given the base of the run and the platform’s per-user cache directory: <base>/node_modules/.cache/skif when node_modules exists (skif never creates it), else <user_cache_dir>/skif, else None, for a cache in memory for the run.