Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ leaf
Method
leaf
atomic-core/examples/compact_semantic_codec/codec.rs:101–103 ·
view source on GitHub ↗
(&mut self, id: LeafId)
Source
from the content-addressed store, hash-verified
99
}
100
101
fn leaf(&mut self, id: LeafId) {
102
self.id(id.change_id(), id.leaf_idx());
103
}
104
105
fn optional_number(&mut self, n: Option<usize>) {
106
put(&mut self.c.control, u64::from(n.is_some()));
Callers
1
leaves
Method · 0.45
Calls
3
leaf_idx
Method · 0.80
id
Method · 0.45
change_id
Method · 0.45
Tested by
no test coverage detected