mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 00:29:33 +01:00
fdf750e4d4
* Update blevesearch v0.8.1 -> v1.0.7 * make vendor Co-authored-by: zeripath <art27@cantab.net>
10 lines
172 B
Go
Vendored
10 lines
172 B
Go
Vendored
package bbolt
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
func fdatasync(db *DB) error {
|
|
return syscall.Fdatasync(int(db.file.Fd()))
|
|
}
|