MCPcopy
hub / github.com/kopia/kopia / eventuallyConsistentStorage

Struct eventuallyConsistentStorage

internal/blobtesting/eventually_consistent.go:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85type eventuallyConsistentStorage struct {
86 mu sync.Mutex
87
88 recentlyDeleted sync.Map
89 listSettleTime time.Duration
90
91 // +checklocks:mu
92 caches []*ecFrontendCache
93 realStorage blob.Storage
94 timeNow func() time.Time
95}
96
97func (s *eventuallyConsistentStorage) randomFrontendCache() *ecFrontendCache {
98 s.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected