Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argumentcomputer/ix
/ mk_addr
Function
mk_addr
crates/kernel/src/id.rs:112–114 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
110
}
111
112
fn mk_addr(s: &str) -> Address {
113
Address::hash(s.as_bytes())
114
}
115
116
#[test]
117
fn meta_named_shows_name_and_hash() {
Callers
8
meta_named_shows_name_and_hash
Function · 0.70
meta_anonymous_shows_hash_only
Function · 0.70
meta_nested_name
Function · 0.70
meta_single_component_name
Function · 0.70
anon_shows_hash_only
Function · 0.70
anon_same_display_regardless_of_addr
Function · 0.70
meta_equality_includes_name
Function · 0.70
anon_equality_ignores_erased_name
Function · 0.70
Calls
1
as_bytes
Method · 0.80
Tested by
8
meta_named_shows_name_and_hash
Function · 0.56
meta_anonymous_shows_hash_only
Function · 0.56
meta_nested_name
Function · 0.56
meta_single_component_name
Function · 0.56
anon_shows_hash_only
Function · 0.56
anon_same_display_regardless_of_addr
Function · 0.56
meta_equality_includes_name
Function · 0.56
anon_equality_ignores_erased_name
Function · 0.56