Files
atlantis/vendor/github.com/boltdb/bolt/bolt_linux.go
Anubhav Mishra 9de7c6474e adding vendoring to atlantis (#40)
* adding vendoring to atlantis
* removing deps test target
2017-06-20 18:59:18 -07:00

13 lines
203 B
Go
Executable File

package bolt
import (
"syscall"
)
var odirect = syscall.O_DIRECT
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))
}