1
1
Fork 0
mirror of https://github.com/mjl-/mox.git synced 2025-02-18 01:22:34 +03:00
mox/vendor/go.etcd.io/bbolt/boltsync_unix.go

10 lines
222 B
Go
Raw Normal View History

//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()
}