auth/vendor/go.etcd.io/bbolt/boltsync_unix.go

10 lines
222 B
Go
Raw Permalink Normal View History

2023-03-16 15:02:14 +00:00
//go:build !windows && !plan9 && !linux && !openbsd
2022-06-09 17:35:23 +00: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()
}