clair/vendor/github.com/boltdb/bolt/boltsync_unix.go
2015-11-13 14:11:28 -05:00

11 lines
186 B
Go

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