Get the diff operations if available.
(&self)
| 367 | |
| 368 | /// Get the diff operations if available. |
| 369 | pub fn diff_ops(&self) -> Option<&[DiffOp]> { |
| 370 | match self { |
| 371 | Self::Modified { diff_ops, .. } => Some(diff_ops), |
| 372 | Self::Moved { |
| 373 | diff_ops: Some(ops), |
| 374 | .. |
| 375 | } => Some(ops), |
| 376 | _ => None, |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | /// Check if this change involves content modification. |
| 381 | pub fn has_content_change(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected