pub fn registry_cache_path(
url: &str,
git_ref: &str,
cache_dir: &Path,
) -> PathBufExpand 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).