Skip to main content

unified_diff

Function unified_diff 

Source
pub fn unified_diff(
    a: &[&str],
    b: &[&str],
    fromfile: &str,
    tofile: &str,
    fromfiledate: &str,
    tofiledate: &str,
    n: i128,
    lineterm: &str,
) -> Vec<String>
Expand description

unified_diff(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm): the lines of the unified diff of two sequences of lines, with n lines of context.