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

Method with_empty

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

Builder: set the empty flag.

(mut self, empty: bool)

Source from the content-addressed store, hash-verified

236
237 /// Builder: set the empty flag.
238 pub fn with_empty(mut self, empty: bool) -> Self {
239 self.empty = empty;
240 self
241 }
242
243 /// Builder: set the switch flag.
244 pub fn with_switch(mut self, switch: bool) -> Self {

Callers 2

test_new_with_emptyFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_new_with_emptyFunction · 0.64