MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / usage

Function usage

src/utils/__tests__/cacheStats.test.ts:159–165  ·  view source on GitHub ↗
(input: number, create: number, read: number)

Source from the content-addressed store, hash-verified

157// ---------------------------------------------------------------------------
158
159function usage(input: number, create: number, read: number): CacheUsage {
160 return {
161 input_tokens: input,
162 cache_creation_input_tokens: create,
163 cache_read_input_tokens: read,
164 }
165}
166
167// ---------------------------------------------------------------------------
168// computeHitRate

Callers 1

cacheStats.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected