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

Method set_recorded_hash

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

Set the recorded content hash.

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

366
367 /// Set the recorded content hash.
368 pub fn set_recorded_hash(&mut self, hash: Hash) {
369 self.recorded_hash = Some(hash);
370 }
371
372 /// Set the current content hash.
373 pub fn set_current_hash(&mut self, hash: Hash) {

Callers 1

Calls

no outgoing calls

Tested by 1