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

Method total_token_ops

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

Returns the total number of token operations.

(&self)

Source from the content-addressed store, hash-verified

1107
1108 /// Returns the total number of token operations.
1109 pub fn total_token_ops(&self) -> usize {
1110 self.tokens_added + self.tokens_deleted + self.tokens_replaced
1111 }
1112
1113 /// Returns true if there are any changes.
1114 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