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

Method with_algorithm

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

Builder: set the diff algorithm.

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

Source from the content-addressed store, hash-verified

163
164 /// Builder: set the diff algorithm.
165 pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self {
166 self.algorithm = algorithm.into();
167 self
168 }
169
170 /// Builder: set the number of context lines.
171 pub fn with_context(mut self, context: usize) -> Self {

Calls

no outgoing calls