Skip to main content

git_cache_dir

Function git_cache_dir 

Source
pub fn git_cache_dir(cache_base: &Path, repo_url: &str) -> PathBuf
Expand description

Compute the cache directory for a git source URL. Uses SHA-256 hash of the repo URL for uniqueness.