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

Method Verify

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

Source from the content-addressed store, hash-verified

30}
31
32func (nullStorageProtection) Verify(_ string, input gather.Bytes, output *gather.WriteBuffer) error {
33 output.Reset()
34 input.WriteTo(output) //nolint:errcheck
35
36 return nil
37}
38
39func (nullStorageProtection) OverheadBytes() int {
40 return 0

Callers

nothing calls this directly

Calls 2

ResetMethod · 0.65
WriteToMethod · 0.65

Tested by

no test coverage detected