Skip to main content

range_diff

Function range_diff 

Source
pub fn range_diff(
    snap: &RangeSnapshots,
    from: usize,
    to: usize,
    context: usize,
) -> Result<Vec<FileDiff>, ModelError>
Expand description

The diff between boundaries from and to (from < to, indices into boundaries), as the same FileDiff shape the build-time parser emits. Selecting commit k alone is range_diff(snap, k - 1, k, …).