Create a result for binary files. Binary files are marked as changed but have no diff operations. # Arguments `old_encoding` - Encoding of pristine content `new_encoding` - Encoding of working content
(old_encoding: Encoding, new_encoding: Encoding)
| 147 | /// * `old_encoding` - Encoding of pristine content |
| 148 | /// * `new_encoding` - Encoding of working content |
| 149 | pub fn binary(old_encoding: Encoding, new_encoding: Encoding) -> Self { |
| 150 | Self { |
| 151 | old_encoding, |
| 152 | new_encoding, |
| 153 | content_changed: true, |
| 154 | diff_ops: Vec::new(), |
| 155 | is_binary: true, |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | /// Create a result with diff operations. |
| 160 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected