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

Method with_to_view

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

Builder: set the local view to pull into.

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

Source from the content-addressed store, hash-verified

199
200 /// Builder: set the local view to pull into.
201 pub fn with_to_view(mut self, view: impl Into<String>) -> Self {
202 self.to_view = Some(view.into());
203 self
204 }
205
206 /// Builder: set the remote view to pull from.
207 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {

Callers 2

test_pull_with_to_viewFunction · 0.45
test_pull_builder_chainFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_pull_with_to_viewFunction · 0.36
test_pull_builder_chainFunction · 0.36