Skip to main content

parse_unified

Function parse_unified 

Source
pub fn parse_unified(raw: &str) -> Vec<FileDiff>
Expand description

Parses a whole git diff output: one FileDiff per diff --git header, its status read from the extended header lines (new file mode, deleted file mode, rename from|to).