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

Struct Cache

http/cache.go:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type Cache struct {
12 capacity int
13 mu sync.RWMutex
14 entries map[uint64]*list.Element
15 values *list.List
16 evictions uint64
17}
18
19type CacheStats struct {
20 Capacity int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected