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

Method with_to_view

atomic-cli/src/commands/push/command.rs:169–172  ·  view source on GitHub ↗

Builder: set the remote view to push to.

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

Source from the content-addressed store, hash-verified

167
168 /// Builder: set the remote view to push to.
169 pub fn with_to_view(mut self, view: impl Into<String>) -> Self {
170 self.to_view = Some(view.into());
171 self
172 }
173
174 /// Builder: set the local view to push from.
175 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {

Callers 3

test_push_with_to_viewFunction · 0.45
test_push_builder_chainFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_push_with_to_viewFunction · 0.36
test_push_builder_chainFunction · 0.36