aboutsummaryrefslogtreecommitdiff
path: root/vendor/go.etcd.io/bbolt/boltsync_unix.go
blob: 9587afefee404805cddb1622f0202b77c4201ed1 (plain)
1
2
3
4
5
6
7
8
// +build !windows,!plan9,!linux,!openbsd

package bbolt

// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
	return db.file.Sync()
}