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

Method with_dry_run

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

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

(mut self, dry_run: bool)

Source from the content-addressed store, hash-verified

222
223 /// Builder: set the `--dry-run` flag.
224 pub fn with_dry_run(mut self, dry_run: bool) -> Self {
225 self.dry_run = dry_run;
226 self
227 }
228
229 /// Builder: set the `--force` flag.
230 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