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

Method total_token_ops

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

Returns the total number of token operations.

(&self)

Source from the content-addressed store, hash-verified

119
120 /// Returns the total number of token operations.
121 pub fn total_token_ops(&self) -> usize {
122 self.tokens_added + self.tokens_deleted + self.tokens_replaced
123 }
124
125 /// Returns the total number of all operations.
126 pub fn total_ops(&self) -> usize {

Callers 1

total_opsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected