Builder: set files to diff.
(mut self, files: I)
| 101 | |
| 102 | /// Builder: set files to diff. |
| 103 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 104 | where |
| 105 | I: IntoIterator<Item = S>, |
| 106 | S: Into<String>, |
| 107 | { |
| 108 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 109 | self |
| 110 | } |
| 111 | |
| 112 | /// Builder: set the change to compare against. |
| 113 | pub fn with_change(mut self, change: impl Into<String>) -> Self { |