Skip to main content

git_cache_key

Function git_cache_key 

Source
pub fn git_cache_key(dep: &Dependency) -> String
Expand description

Stable, filesystem-safe cache key for a Git dependency.

Derived from the URL + reference so two deps with the same source/ref share a cache entry. Not cryptographic — uniqueness only needs to be stable.