File: boltsync_unix.go

package info (click to toggle)
golang-github-boltdb-bolt 1.2.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 484 kB
  • sloc: makefile: 20
file content (8 lines) | stat: -rw-r--r-- 169 bytes parent folder | download | duplicates (10)
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()
}