(info decoderInputFileInfo)
| 353 | } |
| 354 | |
| 355 | func (d *Decoder) getFilePath(info decoderInputFileInfo) string { |
| 356 | // TODO: Make this configurable. |
| 357 | basePath := filepath.Dir(d.indexPath) |
| 358 | return filepath.Join(basePath, info.filename) |
| 359 | } |
| 360 | |
| 361 | func (d *Decoder) fillFileIntegrityInfos(checksumToLocation checksumShardLocationMap, fileIntegrityInfos []fileIntegrityInfo, fileIDIndices map[fileID]int, i int, info decoderInputFileInfo) (int, int, int, error) { |
| 362 | path := d.getFilePath(info) |
no outgoing calls
no test coverage detected