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

Method with_to_view

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

281
282 /// Builder: set the remote view to push to.
283 pub fn with_to_view(mut self, view: impl Into<String>) -> Self {
284 self.to_view = Some(view.into());
285 self
286 }
287
288 /// Builder: set the local view to push from.
289 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