bolt_linux.go 172 B

12345678910
  1. package bbolt
  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. }