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

Method with_change

atomic-cli/src/commands/diff/command.rs:159–162  ·  view source on GitHub ↗

Builder: set the change to compare against.

(mut self, change: impl Into<String>)

Source from the content-addressed store, hash-verified

157
158 /// Builder: set the change to compare against.
159 pub fn with_change(mut self, change: impl Into<String>) -> Self {
160 self.change = Some(change.into());
161 self
162 }
163
164 /// Builder: set the diff algorithm.
165 pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self {

Callers 1

test_diff_with_changeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_diff_with_changeFunction · 0.36