MCPcopy
hub / github.com/kopia/kopia / onDiskCache

Struct onDiskCache

repo/format/format_blob_cache.go:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91type onDiskCache struct {
92 cacheDirectory string
93}
94
95func (c *onDiskCache) Get(_ context.Context, blobID blob.ID) ([]byte, time.Time, bool) {
96 cachedFile := filepath.Join(c.cacheDirectory, string(blobID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected