Close closes the file
()
| 181 | |
| 182 | // Close closes the file |
| 183 | func (fh *RWFileHandle) Close() error { |
| 184 | fh.mu.Lock() |
| 185 | defer fh.mu.Unlock() |
| 186 | return fh.close() |
| 187 | } |
| 188 | |
| 189 | // Flush is called each time the file or directory is closed. |
| 190 | // Because there can be multiple file descriptors referring to a |