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

Method with_algorithm

atomic-repository/src/record/options.rs:150–153  ·  view source on GitHub ↗
(mut self, algorithm: Algorithm)

Source from the content-addressed store, hash-verified

148 /// Set the diff algorithm.
149 #[must_use]
150 pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self {
151 self.algorithm = algorithm;
152 self
153 }
154
155 /// Set the default encoding for new files.
156 #[must_use]

Callers 2

test_options_algorithmFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_options_algorithmFunction · 0.36