1
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-10-04 14:23:17 +00:00
forgejo/vendor/go.etcd.io/bbolt/boltsync_unix.go

9 lines
170 B
Go
Raw Normal View History

// +build !windows,!plan9,!linux,!openbsd
package bbolt
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return db.file.Sync()
}