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

Method with_force

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

Builder: set the force flag.

(mut self, force: bool)

Source from the content-addressed store, hash-verified

127
128 /// Builder: set the force flag.
129 pub fn with_force(mut self, force: bool) -> Self {
130 self.force = force;
131 self
132 }
133
134 /// Normalize a path relative to the repository root.
135 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