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

Method new

atomic-cli/src/commands/split.rs:134–140  ·  view source on GitHub ↗

Create a new Split command with the given name.

(name: impl Into<String>)

Source from the content-addressed store, hash-verified

132impl Split {
133 /// Create a new Split command with the given name.
134 pub fn new(name: impl Into<String>) -> Self {
135 Self {
136 name: name.into(),
137 source: None,
138 switch: false,
139 }
140 }
141
142 /// Builder: set the source view to split from.
143 pub fn with_source(mut self, source: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected