Skip to main content

parse

Function parse 

Source
pub fn parse(buf: &[u8]) -> Result<Vec<FileEdit>, DiffError>
Expand description

Parse a diff document (with or without its SYN heading), refusing everything DIFF.md lists under “What a diff may not hold”.