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