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

Method with_source

atomic-cli/src/commands/split.rs:143–146  ·  view source on GitHub ↗

Builder: set the source view to split from.

(mut self, source: impl Into<String>)

Source from the content-addressed store, hash-verified

141
142 /// Builder: set the source view to split from.
143 pub fn with_source(mut self, source: impl Into<String>) -> Self {
144 self.source = Some(source.into());
145 self
146 }
147
148 /// Builder: set the switch flag.
149 pub fn with_switch(mut self, switch: bool) -> Self {

Callers 3

test_split_with_sourceFunction · 0.80
test_split_builder_chainFunction · 0.80
test_split_cloneFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_split_with_sourceFunction · 0.64
test_split_builder_chainFunction · 0.64
test_split_cloneFunction · 0.64