boltsync_unix.go 169 B

123456789
  1. // +build !windows,!plan9,!linux,!openbsd
  2. package bolt
  3. // fdatasync flushes written data to a file descriptor.
  4. func fdatasync(db *DB) error {
  5. return db.file.Sync()
  6. }