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

Method with_algorithm

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

Builder: set the diff algorithm.

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

Source from the content-addressed store, hash-verified

121
122 /// Builder: set the diff algorithm.
123 pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self {
124 self.algorithm = algorithm.into();
125 self
126 }
127
128 /// Builder: set the number of context lines.
129 pub fn with_context(mut self, context: usize) -> Self {

Calls

no outgoing calls