dispatch/vendor/go.etcd.io/bbolt/boltsync_unix.go

9 lines
170 B
Go
Raw Permalink Normal View History

2015-03-04 16:38:10 +00:00
// +build !windows,!plan9,!linux,!openbsd
2020-04-22 23:06:36 +00:00
package bbolt
2015-03-04 16:38:10 +00:00
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return db.file.Sync()
}