MCPcopy
hub / github.com/kopia/kopia / Verify

Method Verify

internal/cacheprot/storage_protection.go:21–21  ·  view source on GitHub ↗
(id string, input gather.Bytes, output *gather.WriteBuffer)

Source from the content-addressed store, hash-verified

19type StorageProtection interface {
20 Protect(id string, input gather.Bytes, output *gather.WriteBuffer)
21 Verify(id string, input gather.Bytes, output *gather.WriteBuffer) error
22 OverheadBytes() int
23}
24

Callers 2

getPartialMethod · 0.65
testStorageProtectionFunction · 0.65

Implementers 3

nullStorageProtectioninternal/cacheprot/storage_protection.
checksumProtectioninternal/cacheprot/storage_protection.
authenticatedEncryptionProtectioninternal/cacheprot/storage_protection.

Calls

no outgoing calls

Tested by 1

testStorageProtectionFunction · 0.52