Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ hex
Function
hex
atomic-core/src/pristine/bindings.rs:72–74 ·
view source on GitHub ↗
(id: &[u8; 32])
Source
from the content-addressed store, hash-verified
70
use crate::pristine::Pristine;
71
72
fn hex(id: &[u8; 32]) -> String {
73
id.iter().map(|byte| format!(
"{byte:02x}"
)).collect()
74
}
75
76
#[test]
77
fn bindings_are_insert_only_and_idempotent() {
Callers
nothing calls this directly
Calls
2
collect
Method · 0.45
iter
Method · 0.45
Tested by
no test coverage detected