MCPcopy Index your code
hub / github.com/perkeep/perkeep / Storage

Struct Storage

pkg/blobserver/proxycache/proxycache.go:53–63  ·  view source on GitHub ↗

Storage implements the "proxycache" blob storage.

Source from the content-addressed store, hash-verified

51
52// Storage implements the "proxycache" blob storage.
53type Storage struct {
54 origin blobserver.Storage
55 cache blobserver.Storage
56
57 debug bool
58 maxCacheBytes int64
59
60 mu sync.Mutex // guards following
61 lru *lru.Cache
62 cacheBytes int64
63}
64
65var (
66 _ blobserver.Storage = (*Storage)(nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected