(mut self, encoding: Encoding)
| 204 | /// Set the default encoding for new files. |
| 205 | #[must_use] |
| 206 | pub fn with_default_encoding(mut self, encoding: Encoding) -> Self { |
| 207 | self.default_encoding = encoding; |
| 208 | self |
| 209 | } |
| 210 | |
| 211 | /// Set maximum file size for diffing. Files larger than this are treated as binary. |
| 212 | #[must_use] |
no outgoing calls