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

Method with_algorithm

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

Source from the content-addressed store, hash-verified

133 /// Set the diff algorithm.
134 #[must_use]
135 pub fn with_algorithm(mut self, algorithm: Algorithm) -> Self {
136 self.algorithm = algorithm;
137 self
138 }
139
140 /// Set the default encoding for new files.
141 #[must_use]

Callers 2

test_options_algorithmFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_options_algorithmFunction · 0.36