Release is called to before a FileHandle is forgotten. The kernel ignores the return value of this method, so any cleanup that requires specific synchronization or could fail with I/O errors should happen in Flush instead.
(ctx context.Context)
| 95 | // so any cleanup that requires specific synchronization or |
| 96 | // could fail with I/O errors should happen in Flush instead. |
| 97 | func (f *FileHandle) Release(ctx context.Context) syscall.Errno { |
| 98 | return translateError(f.h.Release()) |
| 99 | } |
| 100 | |
| 101 | var _ fusefs.FileReleaser = (*FileHandle)(nil) |
| 102 |
nothing calls this directly
no test coverage detected