mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-01 21:19:39 +00:00
9 lines
180 B
Go
9 lines
180 B
Go
//go:build !windows && !plan9 && !linux && !openbsd
|
|
|
|
package bbolt
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
func fdatasync(db *DB) error {
|
|
return db.file.Sync()
|
|
}
|