(dir string, fileID int64, capacity int64)
| 67 | } |
| 68 | |
| 69 | func (fm *FileManager) GetDataFileByID(dir string, fileID int64, capacity int64) (*DataFile, error) { |
| 70 | path := getDataPath(fileID, dir) |
| 71 | return fm.GetDataFile(path, capacity) |
| 72 | } |
| 73 | |
| 74 | // GetFileRWManager will return a FileIORWManager Object |
| 75 | func (fm *FileManager) GetFileRWManager(path string, capacity int64, segmentSize int64, readOnly bool) (*fileio.FileIORWManager, error) { |
no test coverage detected