mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-04-27 13:12:47 +00:00
This commit updates and revises some of the documentation around Tx.WriteTo() and how O_DIRECT is no longer the default.
9 lines
169 B
Go
9 lines
169 B
Go
// +build !windows,!plan9,!linux,!openbsd
|
|
|
|
package bolt
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
func fdatasync(db *DB) error {
|
|
return db.file.Sync()
|
|
}
|