MCPcopy
hub / github.com/kopia/kopia / Close

Method Close

internal/cache/persistent_lru_cache.go:210–216  ·  view source on GitHub ↗

Close closes the instance of persistent cache possibly waiting for at least one sweep to complete.

(_ context.Context)

Source from the content-addressed store, hash-verified

208
209// Close closes the instance of persistent cache possibly waiting for at least one sweep to complete.
210func (c *PersistentCache) Close(_ context.Context) {
211 if c == nil {
212 return
213 }
214
215 releasable.Released("persistent-cache", c)
216}
217
218// A contentMetadataHeap implements heap.Interface and holds blob.Metadata.
219//

Calls 1

ReleasedFunction · 0.92