etcd/vendor/go.etcd.io/bbolt/boltsync_unix.go
Gyuho Lee fa57f7fbc7 vendor: use "go.etcd.io/bbolt" v1.3.1-etcd.7
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 12:39:59 -07:00

9 lines
170 B
Go

// +build !windows,!plan9,!linux,!openbsd
package bbolt
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return db.file.Sync()
}