Iterate through all lines with their display status. Lines are yielded in the order they would appear in a unified diff: - Unchanged lines appear once - Removed lines appear with status `Removed` - Added lines appear with status `Added` - For replacements, removed lines come first, then added lines
(&'a self)
| 306 | /// - Added lines appear with status `Added` |
| 307 | /// - For replacements, removed lines come first, then added lines |
| 308 | pub fn lines(&'a self) -> UnifiedDiffIter<'a> { |
| 309 | UnifiedDiffIter::new(self) |
| 310 | } |
| 311 | |
| 312 | /// Get the total number of lines that will be yielded. |
| 313 | /// |
no outgoing calls