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

Method new

atomic-cli/src/commands/remove.rs:158–168  ·  view source on GitHub ↗

Create a new Remove command with default settings.

(paths: Vec<String>)

Source from the content-addressed store, hash-verified

156impl Remove {
157 /// Create a new Remove command with default settings.
158 pub fn new(paths: Vec<String>) -> Self {
159 Self {
160 paths,
161 delete: false,
162 keep: false,
163 recursive: true,
164 no_recursive: false,
165 dry_run: false,
166 force: false,
167 }
168 }
169
170 /// Builder: set the delete flag.
171 pub fn with_delete(mut self, delete: bool) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected