MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-cli/src/commands/mv.rs:112–119  ·  view source on GitHub ↗

Create a new Move command.

(source: S1, destination: S2)

Source from the content-addressed store, hash-verified

110impl 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected