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

Method with_path

atomic-cli/src/commands/clone/command.rs:168–171  ·  view source on GitHub ↗

Builder: set the target path.

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

Source from the content-addressed store, hash-verified

166
167 /// Builder: set the target path.
168 pub fn with_path(mut self, path: impl Into<String>) -> Self {
169 self.path = Some(path.into());
170 self
171 }
172
173 /// Builder: set the view name.
174 pub fn with_view(mut self, view: impl Into<String>) -> Self {

Callers 4

test_clone_with_pathFunction · 0.45
test_clone_builder_chainFunction · 0.45
test_clone_cloneFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_clone_with_pathFunction · 0.36
test_clone_builder_chainFunction · 0.36
test_clone_cloneFunction · 0.36