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

Method with_to_view

atomic-cli/src/commands/push/command.rs:170–173  ·  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

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