pub fn undo(text: &str, hunks: &[&Hunk]) -> Option<String>
text with the hunks undone: the old lines where the new ones are. The hunks are of this text and do not overlap. None when one of them does not fit the text.
text
None