OpenHintFile opens the hint index file.
(dirPath string, fileSize int64, fioType int8)
| 34 | |
| 35 | // OpenHintFile opens the hint index file. |
| 36 | func OpenHintFile(dirPath string, fileSize int64, fioType int8) (*DataFile, error) { |
| 37 | fileName := filepath.Join(dirPath, HintFileSuffix) |
| 38 | return newDataFile(fileName, 0, fileSize, fioType) |
| 39 | } |
| 40 | |
| 41 | // OpenMergeFinaFile opens the file that indicates merge completion. |
| 42 | func OpenMergeFinaFile(dirPath string, fileSize int64, fioType int8) (*DataFile, error) { |
nothing calls this directly
no test coverage detected