MCPcopy
hub / github.com/kopia/kopia / Put

Method Put

repo/format/format_blob_cache.go:29–29  ·  view source on GitHub ↗
(ctx context.Context, blobID blob.ID, data []byte)

Source from the content-addressed store, hash-verified

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}
32

Callers 15

runMethod · 0.65
fetchBlobInternalMethod · 0.65
ReturnMethod · 0.65
TestGrowingSetFunction · 0.65
TestGrowingSetFunction · 0.65
SetThrottlingLimitsFunction · 0.65
SetPolicyFunction · 0.65
doWriteAsyncMethod · 0.65
PutManifestMethod · 0.65
CloseMethod · 0.65
aeadForContentMethod · 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 6

TestGrowingSetFunction · 0.52
TestGrowingSetFunction · 0.52
addAndVerifyFunction · 0.52
TestManifestInvalidPutFunction · 0.52
TestFormatBlobCacheFunction · 0.52