Create a result for identical content. # Arguments `encoding` - The shared encoding of both files
(encoding: Encoding)
| 129 | /// |
| 130 | /// * `encoding` - The shared encoding of both files |
| 131 | pub fn identical(encoding: Encoding) -> Self { |
| 132 | Self { |
| 133 | old_encoding: encoding, |
| 134 | new_encoding: encoding, |
| 135 | content_changed: false, |
| 136 | diff_ops: Vec::new(), |
| 137 | is_binary: encoding == Encoding::Binary, |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | /// Create a result for binary files. |
| 142 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected