Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ add_trunk
Method
add_trunk
atomic-core/src/crdt/apply/branch.rs:499–501 ·
view source on GitHub ↗
(&mut self, trunk: Trunk)
Source
from the content-addressed store, hash-verified
497
}
498
499
fn add_trunk(&mut self, trunk: Trunk) {
500
self.trunks.insert(trunk.id(), trunk);
501
}
502
}
503
504
impl MutCrdtTxnT for MockTxn {
Callers
1
create_test_trunk
Function · 0.80
Calls
2
insert
Method · 0.45
id
Method · 0.45
Tested by
no test coverage detected