Create a new Remove command with default settings.
(paths: Vec<String>)
| 156 | impl Remove { |
| 157 | /// Create a new Remove command with default settings. |
| 158 | pub fn new(paths: Vec<String>) -> Self { |
| 159 | Self { |
| 160 | paths, |
| 161 | delete: false, |
| 162 | keep: false, |
| 163 | recursive: true, |
| 164 | no_recursive: false, |
| 165 | dry_run: false, |
| 166 | force: false, |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | /// Builder: set the delete flag. |
| 171 | pub fn with_delete(mut self, delete: bool) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected