Fsync is a wrapper around file.Sync(). Special handling is needed on darwin platform.
(f *os.File)
| 20 | |
| 21 | // Fsync is a wrapper around file.Sync(). Special handling is needed on darwin platform. |
| 22 | func Fsync(f *os.File) error { |
| 23 | return f.Sync() |
| 24 | } |
| 25 | |
| 26 | // Fdatasync is a wrapper around file.Sync(). Special handling is needed on linux platform. |
| 27 | func Fdatasync(f *os.File) error { |
nothing calls this directly
no test coverage detected
searching dependent graphs…