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

Method with_from

atomic-cli/src/commands/view/new.rs:232–235  ·  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

230
231 /// Builder: set the source view to fork from.
232 pub fn with_from(mut self, from: impl Into<String>) -> Self {
233 self.from = Some(from.into());
234 self
235 }
236
237 /// Builder: set the empty flag.
238 pub fn with_empty(mut self, empty: bool) -> Self {

Calls

no outgoing calls

Tested by 2