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

Method with_algorithm

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

Source from the content-addressed store, hash-verified

141 /// Set the diff algorithm.
142 #[must_use]
143 pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self {
144 self.algorithm = algorithm;
145 self
146 }
147
148 /// Set the default encoding for new files.
149 #[must_use]

Callers 2

test_options_algorithmFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_options_algorithmFunction · 0.36