GetDataFile will return a DataFile Object
(path string, capacity int64)
| 32 | |
| 33 | // GetDataFile will return a DataFile Object |
| 34 | func (fm *FileManager) GetDataFile(path string, capacity int64) (datafile *DataFile, err error) { |
| 35 | return fm.getDataFileWithMode(path, capacity, false) |
| 36 | } |
| 37 | |
| 38 | // GetDataFileReadOnly will return a DataFile Object for read-only operations |
| 39 | // This method skips file truncation to improve read performance |