MCPcopy Create free account
hub / github.com/mpolden/echoip / Stats

Method Stats

http/cache.go:91–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (c *Cache) Stats() CacheStats {
92 c.mu.RLock()
93 defer c.mu.RUnlock()
94 return CacheStats{
95 Size: len(c.entries),
96 Capacity: c.capacity,
97 Evictions: c.evictions,
98 }
99}

Callers 1

cacheHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected