(t *testing.T, fs memfs.MemFS, basePath string, paths []string, sliceByteCount, parityShardCount int)
| 33 | } |
| 34 | |
| 35 | func newEncoderForTest(t *testing.T, fs memfs.MemFS, basePath string, paths []string, sliceByteCount, parityShardCount int) (*Encoder, error) { |
| 36 | return newEncoder(testFileIO{t, fs}, testEncoderDelegate{t}, basePath, paths, sliceByteCount, parityShardCount, rsec16.DefaultNumGoroutines()) |
| 37 | } |
| 38 | |
| 39 | func makeEncoderMemFS(workingDir string) memfs.MemFS { |
| 40 | return memfs.MakeMemFS(workingDir, map[string][]byte{ |
no test coverage detected