Set the diff algorithm.
(mut self, algorithm: Algorithm)
| 49 | |
| 50 | /// Set the diff algorithm. |
| 51 | pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self { |
| 52 | self.algorithm = algorithm; |
| 53 | self |
| 54 | } |
| 55 | |
| 56 | /// Include context lines in output. |
| 57 | pub fn with_context(mut self, lines: usize) -> Self { |
no outgoing calls