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

Method with_from

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

Builder: set the source view to fork from.

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

Source from the content-addressed store, hash-verified

239
240 /// Builder: set the source view to fork from.
241 pub fn with_from(mut self, from: impl Into<String>) -> Self {
242 self.from = Some(from.into());
243 self
244 }
245
246 /// Builder: set the empty flag.
247 pub fn with_empty(mut self, empty: bool) -> Self {

Calls

no outgoing calls

Tested by 2