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

Method current_hash

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

Get the current content hash if available.

(&self)

Source from the content-addressed store, hash-verified

365
366 /// Get the current content hash if available.
367 pub fn current_hash(&self) -> Option<&Hash> {
368 self.current_hash.as_ref()
369 }
370
371 /// Get additional details about the status.
372 pub fn details(&self) -> Option<&str> {

Callers 1

statusMethod · 0.80

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected