MCPcopy
hub / github.com/NVIDIA/aistore / extractCreatorMock

Struct extractCreatorMock

dsort/dsort_test.go:108–111  ·  view source on GitHub ↗

MOCKS

Source from the content-addressed store, hash-verified

106// MOCKS
107//
108type extractCreatorMock struct {
109 useCompression bool
110 createShard func(s *extract.Shard, w io.Writer, loadContent extract.LoadContentFunc) // func to hijack CreateShard function
111}
112
113func (*extractCreatorMock) ExtractShard(*cluster.LOM, cos.ReadReaderAt, extract.RecordExtractor, bool) (int64, int, error) {
114 return 0, 0, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected