clair/vendor/github.com/boltdb/bolt/boltsync_unix.go

11 lines
186 B
Go
Raw Normal View History

2015-11-13 19:11:28 +00:00
// +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()
}