Skip to main content

registry_cache_path

Function registry_cache_path 

Source
pub fn registry_cache_path(
    url: &str,
    git_ref: &str,
    cache_dir: &Path,
) -> PathBuf
Expand description

Returns the cache directory path for a registry, matching the path used during cloning. Section MUST NOT affect the cache path (SRS §7.2).