Files
goreportcard/vendor/github.com/boltdb/bolt/boltsync_unix.go
Shawn Smith 6acb1d20cc Revert "add modules, remove vendor dir"
This reverts commit 436d84b0bc.
2019-09-09 17:37:43 +09:00

9 lines
169 B
Go

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