Add exclude patterns.
(mut self, patterns: &[&str])
| 335 | |
| 336 | /// Add exclude patterns. |
| 337 | pub fn exclude(mut self, patterns: &[&str]) -> Self { |
| 338 | self.exclude.extend(patterns.iter().map(|s| s.to_string())); |
| 339 | self |
| 340 | } |
| 341 | |
| 342 | /// Enable overwriting existing destination. |
| 343 | pub fn overwrite(mut self, overwrite: bool) -> Self { |