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

Method total_token_count

atomic-core/src/output/crdt.rs:178–180  ·  view source on GitHub ↗

Returns the number of all tokens (including deleted).

(&self)

Source from the content-addressed store, hash-verified

176
177 /// Returns the number of all tokens (including deleted).
178 pub fn total_token_count(&self) -> usize {
179 self.tokens.len()
180 }
181}
182
183// File - A complete file with all lines

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected