Builder: set files to restore.
(mut self, files: I)
| 133 | |
| 134 | /// Builder: set files to restore. |
| 135 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 136 | where |
| 137 | I: IntoIterator<Item = S>, |
| 138 | S: Into<String>, |
| 139 | { |
| 140 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 141 | self |
| 142 | } |
| 143 | |
| 144 | /// Builder: set the dry-run flag. |
| 145 | pub fn with_dry_run(mut self, dry_run: bool) -> Self { |