Skip to main content

hash_patch

Function hash_patch 

Source
pub fn hash_patch(patch: &Patch) -> [u8; 32]
Expand description

Hash a patch deterministically. The hash covers operations, intent, and parents — but NOT the identity or timestamp. This means the same logical change always produces the same hash.