mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-19 19:57:29 +08:00

* Update blevesearch v0.8.1 -> v1.0.7 * make vendor Co-authored-by: zeripath <art27@cantab.net>
11 lines
172 B
Go
11 lines
172 B
Go
package bbolt
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
func fdatasync(db *DB) error {
|
|
return syscall.Fdatasync(int(db.file.Fd()))
|
|
}
|