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

Method content_hash

atomic-core/src/change/session.rs:746–748  ·  view source on GitHub ↗

Return the content hash of this exact manifest encoding.

(&self)

Source from the content-addressed store, hash-verified

744
745 /// Return the content hash of this exact manifest encoding.
746 pub fn content_hash(&self) -> Hash {
747 Hash::of(&self.to_bytes())
748 }
749}
750
751/// Encode `(session_namespace, turn_number)` for ordered Redb scans.

Callers 2

run_asyncMethod · 0.45
push_changes_implFunction · 0.45

Calls 1

to_bytesMethod · 0.45

Tested by

no test coverage detected