Skip to main content

PatchHashFn

Type Alias PatchHashFn 

Source
pub type PatchHashFn<'a> = &'a dyn Fn(&str, &str) -> Option<String>;
Expand description

Per-(name, version) patch fingerprint. Folded into full_pkg_id so a patched node hashes differently from the unpatched one — and because the recursive calc_deps_hash mixes child hashes into every ancestor, every dep that transitively pulls in the patched package also lands at a fresh virtual-store path.