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

Method with_force

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

Builder: set the force flag.

(mut self, force: bool)

Source from the content-addressed store, hash-verified

126
127 /// Builder: set the force flag.
128 pub fn with_force(mut self, force: bool) -> Self {
129 self.force = force;
130 self
131 }
132
133 /// Normalize a path relative to the repository root.
134 fn normalize_path(&self, repo_root: &Path, path: &str) -> CliResult<String> {

Callers 3

test_move_with_forceFunction · 0.45
test_move_builder_chainFunction · 0.45
test_move_cloneFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_move_with_forceFunction · 0.36
test_move_builder_chainFunction · 0.36
test_move_cloneFunction · 0.36