Check if a file size exceeds the maximum for diffing. # Arguments `size` - File size in bytes # Returns `true` if the file is too large for text diffing.
(&self, size: u64)
| 334 | /// |
| 335 | /// `true` if the file is too large for text diffing. |
| 336 | pub fn exceeds_max_size(&self, size: u64) -> bool { |
| 337 | match self.max_file_size { |
| 338 | Some(max) => size > max, |
| 339 | None => false, |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | /// Check if content should be diffed based on current options. |
| 344 | /// |
no outgoing calls
no test coverage detected