pub fn parse_diff(raw: &str) -> Result<DiffParseResult>Expand description
Parse unified diff (multi-file) as emitted by git diff.
Assumes file header lines: diff --git a/... b/... and hunks @@ -a,b +c,d @@.
pub fn parse_diff(raw: &str) -> Result<DiffParseResult>Parse unified diff (multi-file) as emitted by git diff.
Assumes file header lines: diff --git a/... b/... and hunks @@ -a,b +c,d @@.