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

Method with_name

atomic-cli/src/commands/view/switch.rs:98–104  ·  view source on GitHub ↗

Create a new Switch command targeting the given view.

(name: impl Into<String>)

Source from the content-addressed store, hash-verified

96impl Switch {
97 /// Create a new Switch command targeting the given view.
98 pub fn with_name(name: impl Into<String>) -> Self {
99 Self {
100 name: Some(name.into()),
101 force: false,
102 stash: false,
103 }
104 }
105}
106
107fn checkpoint_shadow_switch(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected