Skip to main content

change_identity

Function change_identity 

Source
pub fn change_identity(change: &Change) -> String
Expand description

The change’s stable identity: hex digest of its normalized diff.

Position-independent by construction — hunk offsets and context are stripped before hashing — and content-sensitive: any differing added or removed line is a different change.