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

Method cache_tokens

atomic-core/src/change/attestation.rs:279–281  ·  view source on GitHub ↗

Cache tokens across all models (cache read + cache write).

(&self)

Source from the content-addressed store, hash-verified

277
278 /// Cache tokens across all models (cache read + cache write).
279 pub fn cache_tokens(&self) -> u64 {
280 self.models.iter().map(|m| m.cache_tokens()).sum()
281 }
282
283 /// Number of changes covered.
284 pub fn change_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected