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

Method with_algorithm

atomic-core/src/diff/semantic/config.rs:51–54  ·  view source on GitHub ↗

Set the diff algorithm.

(mut self, algorithm: Algorithm)

Source from the content-addressed store, hash-verified

49
50 /// Set the diff algorithm.
51 pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self {
52 self.algorithm = algorithm;
53 self
54 }
55
56 /// Include context lines in output.
57 pub fn with_context(mut self, lines: usize) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1