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

Method set_current_hash

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

Set the current content hash.

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

385
386 /// Set the current content hash.
387 pub fn set_current_hash(&mut self, hash: Hash) {
388 self.current_hash = Some(hash);
389 }
390
391 /// Set additional details.
392 pub fn set_details(&mut self, details: String) {

Callers 2

status_innerMethod · 0.80

Calls

no outgoing calls

Tested by 1