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

Method total_token_ops

atomic-core/src/change/ops.rs:1124–1126  ·  view source on GitHub ↗

Returns the total number of token operations.

(&self)

Source from the content-addressed store, hash-verified

1122
1123 /// Returns the total number of token operations.
1124 pub fn total_token_ops(&self) -> usize {
1125 self.tokens_added + self.tokens_deleted + self.tokens_replaced
1126 }
1127
1128 /// Returns true if there are any changes.
1129 pub fn has_changes(&self) -> bool {

Callers 2

format_record_statsFunction · 0.45
has_changesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected