MCPcopy
hub / github.com/kopia/kopia / Get

Method Get

repo/format/format_blob_cache.go:28–28  ·  view source on GitHub ↗
(ctx context.Context, blobID blob.ID)

Source from the content-addressed store, hash-verified

26// usually 1 or 2.
27type blobCache interface {
28 Get(ctx context.Context, blobID blob.ID) ([]byte, time.Time, bool)
29 Put(ctx context.Context, blobID blob.ID, data []byte) (time.Time, error)
30 Remove(ctx context.Context, ids []blob.ID)
31}

Callers 15

downloadInternalFunction · 0.65
TestPushoverFunction · 0.65
TestWebhookFunction · 0.65
runMethod · 0.65
runMethod · 0.65
runServerStatusMethod · 0.65
webdavServerLoggerFunction · 0.65
GetPasswordMethod · 0.65
EncodeEntryMethod · 0.65
TakeMethod · 0.65
getTimeFromServerFunction · 0.65
queryParamMethod · 0.65

Implementers 3

nullCacherepo/format/format_blob_cache.go
inMemoryCacherepo/format/format_blob_cache.go
onDiskCacherepo/format/format_blob_cache.go

Calls

no outgoing calls

Tested by 15

TestPushoverFunction · 0.52
TestWebhookFunction · 0.52
TestInternalMapFunction · 0.52
TestGrowingMapFunction · 0.52
benchmarkInternalMapFunction · 0.52
TestMapWithoutValueFunction · 0.52
TestGrowingMapFunction · 0.52
benchmarkMapFunction · 0.52