dispatch/vendor/go.etcd.io/bbolt/bolt_linux.go
Ken-Håvard Lieng 77543e3aed Switch to bbolt
2020-04-23 01:06:36 +02:00

11 lines
172 B
Go

package bbolt
import (
"syscall"
)
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))
}