summaryrefslogtreecommitdiff
path: root/vendor/github.com/boltdb/bolt/boltsync_unix.go
blob: f50442523c384f83aaab1fa537141a2ffbd82307 (plain)
1
2
3
4
5
6
7
8
// +build !windows,!plan9,!linux,!openbsd

package bolt

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