boltsync_unix.go 170 B

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