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

Method with_from_view

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

Builder: set the local view to push from.

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

Source from the content-addressed store, hash-verified

205
206 /// Builder: set the local view to push from.
207 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {
208 self.from_view = Some(view.into());
209 self
210 }
211
212 /// Use the explicit remote first, then the repository default.
213 fn resolve_remote_name(&self, repo: &Repository) -> String {

Callers 2

test_push_with_from_viewFunction · 0.45
test_push_builder_chainFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_push_with_from_viewFunction · 0.36
test_push_builder_chainFunction · 0.36