MCPcopy
hub / github.com/kopia/kopia / NoProtection

Function NoProtection

internal/cacheprot/storage_protection.go:44–46  ·  view source on GitHub ↗

NoProtection returns implementation of StorageProtection that offers no protection.

()

Source from the content-addressed store, hash-verified

42
43// NoProtection returns implementation of StorageProtection that offers no protection.
44func NoProtection() StorageProtection {
45 return nullStorageProtection{}
46}
47
48type checksumProtection struct {
49 Secret []byte

Callers 3

getPartialMethod · 0.92
NewPersistentCacheFunction · 0.92
TestNoStorageProtectionFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestNoStorageProtectionFunction · 0.74