Get the graph_op header in unified diff format. Returns a string like `@@ -1,5 +1,6 @@`
(&self)
| 395 | /// |
| 396 | /// Returns a string like `@@ -1,5 +1,6 @@` |
| 397 | pub fn header(&self) -> String { |
| 398 | format!( |
| 399 | "@@ -{},{} +{},{} @@", |
| 400 | self.old_start, self.old_count, self.new_start, self.new_count |
| 401 | ) |
| 402 | } |
| 403 | |
| 404 | /// Check if this graph_op contains any changes. |
| 405 | pub fn has_changes(&self) -> bool { |
no outgoing calls
no test coverage detected