Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argumentcomputer/ix
/ mk_addr
Function
mk_addr
crates/kernel/src/testing.rs:34–36 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
32
}
33
34
pub fn mk_addr(s: &str) -> Address {
35
Address::hash(s.as_bytes())
36
}
37
38
pub fn mk_id(s: &str) -> MId {
39
KId::new(mk_addr(s), mk_name(s))
Callers
2
expr_mentions_addr_not_found
Function · 0.70
mk_id
Function · 0.70
Calls
1
as_bytes
Method · 0.80
Tested by
no test coverage detected