Builder: set the diff algorithm.
(mut self, algorithm: impl Into<String>)
| 121 | |
| 122 | /// Builder: set the diff algorithm. |
| 123 | pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self { |
| 124 | self.algorithm = algorithm.into(); |
| 125 | self |
| 126 | } |
| 127 | |
| 128 | /// Builder: set the number of context lines. |
| 129 | pub fn with_context(mut self, context: usize) -> Self { |
no outgoing calls