Check if the content has any changes. Returns `true` if: - Raw bytes differ - There are diff operations - Encoding changed (even if content is the same)
(&self)
| 185 | /// - There are diff operations |
| 186 | /// - Encoding changed (even if content is the same) |
| 187 | pub fn has_changes(&self) -> bool { |
| 188 | self.content_changed || self.old_encoding != self.new_encoding |
| 189 | } |
| 190 | |
| 191 | /// Check if only encoding changed (content bytes identical). |
| 192 | pub fn encoding_only_change(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected