Skip to main content

parse_patch

Function parse_patch 

Source
pub fn parse_patch(text: &str) -> Result<Vec<FileDiff>, PatchError>
Expand description

Parses a unified patch into one FileDiff per file, with word-level emphasis.