Codebase list golang-github-nebulouslabs-bolt / upstream/1.0+git20181203.1.0366476 boltsync_unix.go
upstream/1.0+git20181203.1.0366476

Tree @upstream/1.0+git20181203.1.0366476 (Download .tar.gz)

boltsync_unix.go @upstream/1.0+git20181203.1.0366476raw · history · blame

1
2
3
4
5
6
7
8
// +build !windows,!plan9,!linux,!openbsd

package bolt

// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
	return db.file.Sync()
}