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

Method with_path

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

Builder: set the target path.

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

Source from the content-addressed store, hash-verified

256
257 /// Builder: set the target path.
258 pub fn with_path(mut self, path: impl Into<String>) -> Self {
259 self.path = Some(path.into());
260 self
261 }
262
263 /// Builder: set the view name.
264 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