Skip to main content

hunks

Function hunks 

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

The hunks of git diff -U0 --src-prefix=a/ --dst-prefix=b/ output. A hunk whose path could not be read has an empty one.