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

Method with_from_view

atomic-cli/src/commands/pull/command.rs:208–211  ·  view source on GitHub ↗

Builder: set the remote view to pull from.

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

Source from the content-addressed store, hash-verified

206
207 /// Builder: set the remote view to pull from.
208 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {
209 self.from_view = Some(view.into());
210 self
211 }
212
213 /// Builder: set the dry-run flag.
214 pub fn with_dry_run(mut self, dry_run: bool) -> Self {

Callers 3

test_pull_with_from_viewFunction · 0.45
test_pull_builder_chainFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_pull_with_from_viewFunction · 0.36
test_pull_builder_chainFunction · 0.36