Get the graph_op header in unified diff format. Returns a string like `@@ -1,5 +1,6 @@`
(&self)
| 418 | /// |
| 419 | /// Returns a string like `@@ -1,5 +1,6 @@` |
| 420 | pub fn header(&self) -> String { |
| 421 | format!( |
| 422 | "@@ -{},{} +{},{} @@", |
| 423 | self.old_start, self.old_count, self.new_start, self.new_count |
| 424 | ) |
| 425 | } |
| 426 | |
| 427 | /// Check if this graph_op contains any changes. |
| 428 | pub fn has_changes(&self) -> bool { |
no outgoing calls
no test coverage detected