Skip to main content

cache_key

Function cache_key 

Source
pub fn cache_key(canonical_url: &str) -> String
Expand description

Deterministic cache-key for the scratch clone directory: the first 16 hex characters of blake3(canonical_url) – short enough for a filesystem path component, long enough that collisions are not a practical concern for a handful of cached repos.