Create a new Add command with default settings. # Example ```rust,ignore let add = Add::new(); ```
()
| 195 | /// let add = Add::new(); |
| 196 | /// ``` |
| 197 | pub fn new() -> Self { |
| 198 | Self { |
| 199 | files: Vec::new(), |
| 200 | all: false, |
| 201 | dry_run: false, |
| 202 | force: false, |
| 203 | recursive: true, |
| 204 | no_recursive: false, |
| 205 | directory: false, |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | /// Builder: set the files to add. |
| 210 | pub fn with_files<I, S>(mut self, files: I) -> Self |
nothing calls this directly
no outgoing calls
no test coverage detected