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

Method with_name

atomic-cli/src/commands/view/delete.rs:87–92  ·  view source on GitHub ↗

Create a new Delete command targeting the given view.

(name: impl Into<String>)

Source from the content-addressed store, hash-verified

85impl Delete {
86 /// Create a new Delete command targeting the given view.
87 pub fn with_name(name: impl Into<String>) -> Self {
88 Self {
89 name: Some(name.into()),
90 force: false,
91 }
92 }
93
94 /// Create a new Delete command with default settings.
95 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected