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

Method set_current_hash

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

Set the current content hash.

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

371
372 /// Set the current content hash.
373 pub fn set_current_hash(&mut self, hash: Hash) {
374 self.current_hash = Some(hash);
375 }
376
377 /// Set additional details.
378 pub fn set_details(&mut self, details: String) {

Callers 2

statusMethod · 0.80

Calls

no outgoing calls

Tested by 1