Fsync is a wrapper around file.Sync(). Special handling is needed on darwin platform.
(f *os.File)
| 23 | |
| 24 | // Fsync is a wrapper around file.Sync(). Special handling is needed on darwin platform. |
| 25 | func Fsync(f *os.File) error { |
| 26 | return f.Sync() |
| 27 | } |
| 28 | |
| 29 | // Fdatasync is similar to fsync(), but does not flush modified metadata |
| 30 | // unless that metadata is needed in order to allow a subsequent data retrieval |
nothing calls this directly
no test coverage detected
searching dependent graphs…