Builder: set the files to add.
(mut self, files: I)
| 206 | |
| 207 | /// Builder: set the files to add. |
| 208 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 209 | where |
| 210 | I: IntoIterator<Item = S>, |
| 211 | S: Into<String>, |
| 212 | { |
| 213 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 214 | self |
| 215 | } |
| 216 | |
| 217 | /// Builder: set the `--all` flag. |
| 218 | pub fn with_all(mut self, all: bool) -> Self { |