MCPcopy
hub / github.com/kopia/kopia / testFile

Struct testFile

internal/diff/diff_test.go:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59type testFile struct {
60 testBaseEntry
61 content string
62}
63
64func (f *testFile) Open(ctx context.Context) (io.Reader, error) {
65 return strings.NewReader(f.content), nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected