Add a graph_op to this diff.
(&mut self, graph_op: DiffHunk)
| 633 | |
| 634 | /// Add a graph_op to this diff. |
| 635 | pub fn add_hunk(&mut self, graph_op: DiffHunk) { |
| 636 | self.hunks.push(graph_op); |
| 637 | } |
| 638 | |
| 639 | /// Update statistics based on hunks. |
| 640 | pub fn compute_stats(&mut self) { |