Size returns the size of the underlying file
()
| 237 | |
| 238 | // Size returns the size of the underlying file |
| 239 | func (fh *RWFileHandle) Size() int64 { |
| 240 | fh.mu.Lock() |
| 241 | defer fh.mu.Unlock() |
| 242 | return fh._size() |
| 243 | } |
| 244 | |
| 245 | // Stat returns info about the file |
| 246 | func (fh *RWFileHandle) Stat() (os.FileInfo, error) { |