1 package bbolt 2 3 import ( 4 "syscall" 5 ) 6 7 // fdatasync flushes written data to a file descriptor. 8 func fdatasync(db *DB) error { 9 return syscall.Fdatasync(int(db.file.Fd())) 10 } 11
View as plain text