MCPcopy
hub / github.com/kopia/kopia / FaultyStorage

Struct FaultyStorage

internal/blobtesting/faulty.go:24–28  ·  view source on GitHub ↗

FaultyStorage implements fault injection for FaultyStorage.

Source from the content-addressed store, hash-verified

22
23// FaultyStorage implements fault injection for FaultyStorage.
24type FaultyStorage struct {
25 base blob.Storage
26
27 *fault.Set
28}
29
30// NewFaultyStorage creates new Storage with fault injection.
31func NewFaultyStorage(base blob.Storage) *FaultyStorage {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected