MCPcopy Index your code
hub / github.com/kopia/kopia / testDirectory

Struct testDirectory

internal/diff/diff_test.go:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68func (f *testFile) Size() int64 { return int64(len(f.content)) }
69
70type testDirectory struct {
71 testBaseEntry
72 files []fs.Entry
73}
74
75func (d *testDirectory) Iterate(ctx context.Context) (fs.DirectoryIterator, error) {
76 return fs.StaticIterator(d.files, nil), nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected