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

Method with_dry_run

atomic-cli/src/commands/add.rs:226–229  ·  view source on GitHub ↗

Builder: set the `--dry-run` flag.

(mut self, dry_run: bool)

Source from the content-addressed store, hash-verified

224
225 /// Builder: set the `--dry-run` flag.
226 pub fn with_dry_run(mut self, dry_run: bool) -> Self {
227 self.dry_run = dry_run;
228 self
229 }
230
231 /// Builder: set the `--force` flag.
232 pub fn with_force(mut self, force: bool) -> Self {

Callers 4

test_add_with_dry_runFunction · 0.45
test_add_builder_chainFunction · 0.45
test_add_run_dry_runFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_add_with_dry_runFunction · 0.36
test_add_builder_chainFunction · 0.36
test_add_run_dry_runFunction · 0.36