Skip to main content

hunk_id

Function hunk_id 

Source
pub fn hunk_id(file_path: &str, lines: &[DiffLine]) -> HunkId
Expand description

Hash the hunk’s content (kinds + text) into a stable id.