Skip to main content

hunks

Function hunks 

Source
pub fn hunks(diff: &str) -> Vec<Hunk>
Expand description

The hunks of the files that are still there. The lines of a hunk are counted as its header says, so a removed line that starts with -- is not taken for a file header.