Codebase list golang-github-boltdb-bolt / debian/1.3.1-6 boltsync_unix.go
debian/1.3.1-6

Tree @debian/1.3.1-6 (Download .tar.gz)

boltsync_unix.go @debian/1.3.1-6raw · 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()
}