Check if this change involves content modification.
(&self)
| 379 | |
| 380 | /// Check if this change involves content modification. |
| 381 | pub fn has_content_change(&self) -> bool { |
| 382 | match self { |
| 383 | Self::Added { .. } => true, |
| 384 | Self::Modified { .. } => true, |
| 385 | Self::Deleted => true, |
| 386 | Self::Moved { |
| 387 | content_changed, .. |
| 388 | } => *content_changed, |
| 389 | Self::MetadataOnly { .. } => false, |
| 390 | } |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | // FILE CHANGE |
nothing calls this directly
no outgoing calls
no test coverage detected