Skip to main content

repo_cache_dir

Function repo_cache_dir 

Source
pub fn repo_cache_dir(repo: &RepoRef) -> Result<PathBuf, String>
Expand description

Cache directory for a repo+ref, with every path segment sanitized so a hostile owner/repo/ref cannot escape the cache root.