pub fn parse(buf: &[u8]) -> Result<Vec<FileEdit>, DiffError>
Parse a diff document (with or without its SYN heading).