mirror of
https://github.com/go-gitea/bolt.git
synced 2026-06-30 20:37:56 -04:00
6b1bbf0ab4
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()
|
|
}
|