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

Method with_switch

atomic-cli/src/commands/view/new.rs:253–256  ·  view source on GitHub ↗

Builder: set the switch flag.

(mut self, switch: bool)

Source from the content-addressed store, hash-verified

251
252 /// Builder: set the switch flag.
253 pub fn with_switch(mut self, switch: bool) -> Self {
254 self.switch = switch;
255 self
256 }
257
258 /// Two-tier view creation: --draft and/or --parent.
259 fn run_two_tier(

Callers 2

test_new_with_switchFunction · 0.45
test_run_with_switchFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_new_with_switchFunction · 0.36
test_run_with_switchFunction · 0.36