pub fn parse_patch(patch: &str) -> Vec<DiffFile>Expand description
Parse unified git diff output into a structured per-file form, as JSS
parsePatch does. Unlike the JSS parser, hunk bodies are consumed by the
line counts in their @@ header, so a content line that happens to start
with +++ or --- is classified as content, not as a file header.