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

Method with_empty

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

Builder: set the empty flag.

(mut self, empty: bool)

Source from the content-addressed store, hash-verified

245
246 /// Builder: set the empty flag.
247 pub fn with_empty(mut self, empty: bool) -> Self {
248 self.empty = empty;
249 self
250 }
251
252 /// Builder: set the switch flag.
253 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