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

Method with_expected

atomic-core/src/apply/conflict.rs:206–209  ·  view source on GitHub ↗

Set the expected change hash.

(mut self, hash: Hash)

Source from the content-addressed store, hash-verified

204
205 /// Set the expected change hash.
206 pub fn with_expected(mut self, hash: Hash) -> Self {
207 self.expected_change = Some(hash);
208 self
209 }
210}
211
212// Order Conflicts

Callers 1

Calls

no outgoing calls

Tested by 1