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

Method set_recorded_hash

atomic-repository/src/status.rs:382–384  ·  view source on GitHub ↗

Set the recorded content hash.

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

380
381 /// Set the recorded content hash.
382 pub fn set_recorded_hash(&mut self, hash: Hash) {
383 self.recorded_hash = Some(hash);
384 }
385
386 /// Set the current content hash.
387 pub fn set_current_hash(&mut self, hash: Hash) {

Callers 1

Calls

no outgoing calls

Tested by 1