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

Method with_algorithm

atomic-cli/src/commands/record/mod.rs:309–312  ·  view source on GitHub ↗

Builder: set the diff algorithm.

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

Source from the content-addressed store, hash-verified

307
308 /// Builder: set the diff algorithm.
309 pub fn with_algorithm(mut self, algorithm: impl Into<String>) -> Self {
310 self.algorithm = algorithm.into();
311 self
312 }
313
314 /// Builder: set the dry-run flag.
315 pub fn with_dry_run(mut self, dry_run: bool) -> Self {

Calls

no outgoing calls