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

Method with_from_view

atomic-cli/src/commands/pull/command.rs:210–213  ·  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

208
209 /// Builder: set the remote view to pull from.
210 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {
211 self.from_view = Some(view.into());
212 self
213 }
214
215 /// Builder: set the dry-run flag.
216 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