Skip to main content

group_hunks

Function group_hunks 

Source
pub fn group_hunks(ops: &[Op], context: usize) -> Vec<Hunk>
Expand description

Group an edit script into hunks with context unchanged elements around every change; changes closer than twice the context share a hunk.