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