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

Method new

atomic-cli/src/commands/change/command.rs:100–109  ·  view source on GitHub ↗

Create a new ChangeCmd with default settings.

()

Source from the content-addressed store, hash-verified

98impl ChangeCmd {
99 /// Create a new ChangeCmd with default settings.
100 pub fn new() -> Self {
101 Self {
102 identifier: None,
103 view: None,
104 format: ChangeFormat::Default,
105 show_deps: false,
106 show_hunks: false,
107 full_hash: false,
108 }
109 }
110
111 /// Builder: set the identifier.
112 pub fn with_identifier(mut self, id: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected