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

Method with_from

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

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

Calls

no outgoing calls

Tested by 2