2023-02-17 20:55:01 +03:00
|
|
|
//go:build !windows && !plan9 && !linux && !openbsd
|
2023-01-30 16:27:06 +03:00
|
|
|
// +build !windows,!plan9,!linux,!openbsd
|
|
|
|
|
|
|
|
package bbolt
|
|
|
|
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
|
|
func fdatasync(db *DB) error {
|
|
|
|
return db.file.Sync()
|
|
|
|
}
|