Create a new Restore command with default settings.
()
| 124 | impl Restore { |
| 125 | /// Create a new Restore command with default settings. |
| 126 | pub fn new() -> Self { |
| 127 | Self { |
| 128 | files: Vec::new(), |
| 129 | dry_run: false, |
| 130 | force: false, |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | /// Builder: set files to restore. |
| 135 | pub fn with_files<I, S>(mut self, files: I) -> Self |
nothing calls this directly
no outgoing calls
no test coverage detected