MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / trunk_count

Method trunk_count

atomic-core/tests/crdt_integration_test.rs:46–48  ·  view source on GitHub ↗

Count trunks

(&self)

Source from the content-addressed store, hash-verified

44
45 /// Count trunks
46 fn trunk_count(&self) -> usize {
47 self.trunks.len()
48 }
49
50 /// Count branches for a trunk
51 fn branch_count_for_trunk(&self, trunk_id: &TrunkId) -> usize {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected