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

Method with_algorithm

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

Builder: set the diff algorithm.

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls