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

Function hash

atomic-repository/src/repository/deferred_tree.rs:2088–2090  ·  view source on GitHub ↗
(label: &str)

Source from the content-addressed store, hash-verified

2086 use atomic_core::types::ChangePosition;
2087
2088 fn hash(label: &str) -> Hash {
2089 Hash::of(label.as_bytes())
2090 }
2091
2092 fn set(
2093 change: Hash,

Calls 1

as_bytesMethod · 0.45