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

Method total_ops

atomic-core/src/record/workflow/crdt/builder/mod.rs:126–128  ·  view source on GitHub ↗

Returns the total number of all operations.

(&self)

Source from the content-addressed store, hash-verified

124
125 /// Returns the total number of all operations.
126 pub fn total_ops(&self) -> usize {
127 self.total_file_ops() + self.total_line_ops() + self.total_token_ops()
128 }
129
130 /// Returns true if any changes were recorded.
131 pub fn has_changes(&self) -> bool {

Callers 1

has_changesMethod · 0.45

Calls 3

total_file_opsMethod · 0.45
total_line_opsMethod · 0.45
total_token_opsMethod · 0.45

Tested by

no test coverage detected