Create a new Move command.
(source: S1, destination: S2)
| 110 | impl Move { |
| 111 | /// Create a new Move command. |
| 112 | pub fn new<S1: Into<String>, S2: Into<String>>(source: S1, destination: S2) -> Self { |
| 113 | Self { |
| 114 | source: source.into(), |
| 115 | destination: destination.into(), |
| 116 | dry_run: false, |
| 117 | force: false, |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /// Builder: set the dry-run flag. |
| 122 | pub fn with_dry_run(mut self, dry_run: bool) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected