Builder: set files to diff.
(mut self, files: I)
| 147 | |
| 148 | /// Builder: set files to diff. |
| 149 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 150 | where |
| 151 | I: IntoIterator<Item = S>, |
| 152 | S: Into<String>, |
| 153 | { |
| 154 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 155 | self |
| 156 | } |
| 157 | |
| 158 | /// Builder: set the change to compare against. |
| 159 | pub fn with_change(mut self, change: impl Into<String>) -> Self { |