boltsync_unix.go 169 B

12345678
  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. }