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

Method new

atomic-cli/src/commands/revise.rs:239–249  ·  view source on GitHub ↗

Create a new Revise command with default settings.

()

Source from the content-addressed store, hash-verified

237impl Revise {
238 /// Create a new Revise command with default settings.
239 pub fn new() -> Self {
240 Self {
241 reference: "@".to_string(),
242 message: None,
243 reword: false,
244 no_edit: false,
245 author: None,
246 dry_run: false,
247 files: Vec::new(),
248 }
249 }
250
251 /// Builder: set the reference.
252 pub fn with_reference(mut self, reference: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected