Builder: set the diff algorithm.
(mut self, algorithm: impl Into<String>)
| 163 | |
| 164 | /// Builder: set the diff algorithm. |
| 165 | pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self { |
| 166 | self.algorithm = algorithm.into(); |
| 167 | self |
| 168 | } |
| 169 | |
| 170 | /// Builder: set the number of context lines. |
| 171 | pub fn with_context(mut self, context: usize) -> Self { |
no outgoing calls