Skip to main content

codeload_cache_integrity

Function codeload_cache_integrity 

Source
pub fn codeload_cache_integrity(
    url: &str,
    commit: &str,
    integrity: Option<&str>,
) -> Option<String>
Expand description

Return the SRI integrity sidecar for a cached codeload extract.

Fresh extracts write this next to the cache directory so resolver re-runs from a warm cache keep emitting the same lockfile integrity.