pub fn parse_patch_with_meta(text: &str) -> Result<DiffParseResult, DiffError>Expand description
Parse a unified diff/patch and extract changed (added) line ranges with metadata.
In addition to changed ranges, this records binary files detected via:
- “Binary files … and … differ” lines
- “GIT binary patch” markers