Skip to main content

diff

Function diff 

Source
pub fn diff(file: &FileChange) -> Vec<Line>
Expand description

A file’s unified diff lines: the ---/+++ headers dropped, each line’s role by its first byte (@ hunk, + added, - removed, else plain).