bolt_linux.go 171 B

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