()
| 325 | } |
| 326 | |
| 327 | func (infile *FileInput) getFileInputReader() io.Reader { |
| 328 | if infile.DataReader != nil { |
| 329 | return infile.DataReader |
| 330 | } |
| 331 | |
| 332 | if len(infile.Data) > 0 { |
| 333 | return strings.NewReader(infile.Data) |
| 334 | } |
| 335 | |
| 336 | // Different data for each file but deterministic |
| 337 | return NewPlaceholderDataReader(fileInputSeed.Int63(), infile.Size) |
| 338 | } |
| 339 | |
| 340 | // Input for defining commits for test repo |
| 341 | type CommitInput struct { |
no test coverage detected