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

Method with_from_view

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

173
174 /// Builder: set the local view to push from.
175 pub fn with_from_view(mut self, view: impl Into<String>) -> Self {
176 self.from_view = Some(view.into());
177 self
178 }
179
180 /// Builder: set the dry-run flag.
181 pub fn with_dry_run(mut self, dry_run: bool) -> Self {

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