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

Function hash

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

Source from the content-addressed store, hash-verified

760 use atomic_core::types::ChangePosition;
761
762 fn hash(label: &str) -> Hash {
763 Hash::of(label.as_bytes())
764 }
765
766 #[test]
767 fn planner_handles_rename_chains_and_view_visibility() {

Calls 1

as_bytesMethod · 0.45