bolt_linux.go 171 B

12345678910
  1. package bolt
  2. import (
  3. "syscall"
  4. )
  5. // fdatasync flushes written data to a file descriptor.
  6. func fdatasync(db *DB) error {
  7. return syscall.Fdatasync(int(db.file.Fd()))
  8. }