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

Method content_hash

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

Return the content hash of this exact manifest encoding.

(&self)

Source from the content-addressed store, hash-verified

239
240 /// Return the content hash of this exact manifest encoding.
241 pub fn content_hash(&self) -> Hash {
242 Hash::of(&self.to_bytes())
243 }
244}
245
246/// Encode `(session_namespace, turn_number)` for ordered Redb scans.

Callers 1

run_asyncMethod · 0.45

Calls 1

to_bytesMethod · 0.45

Tested by

no test coverage detected