MCPcopy
hub / github.com/kopia/kopia / badEncryptor

Struct badEncryptor

internal/blobcrypto/blob_crypto_test.go:60–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60type badEncryptor struct{}
61
62func (badEncryptor) Encrypt(input gather.Bytes, contentID []byte, output *gather.WriteBuffer) error {
63 return errors.New("some error")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected