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

Method total_branch_ops

atomic-core/src/apply/file_ops.rs:112–117  ·  view source on GitHub ↗

Returns total branch operations.

(&self)

Source from the content-addressed store, hash-verified

110
111 /// Returns total branch operations.
112 pub fn total_branch_ops(&self) -> usize {
113 self.branches_created
114 + self.branches_deleted
115 + self.branches_restored
116 + self.branches_reparented
117 }
118
119 /// Returns total leaf operations.
120 pub fn total_leaf_ops(&self) -> usize {

Callers 1

has_operationsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected