Function similar::algorithms::group_diff_ops [−][src]
pub fn group_diff_ops(mut ops: Vec<DiffOp>, n: usize) -> Vec<Vec<DiffOp>>
Isolate change clusters by eliminating ranges with no changes.
This will leave holes behind in long periods of equal ranges so that you can build things like unified diffs.