2
0
mirror of https://github.com/status-im/status-go.git synced 2025-01-10 14:47:06 +00:00
2022-04-06 11:48:16 +02:00

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