File: boltsync_unix.go

package info (click to toggle)
golang-github-coreos-bbolt 1.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 652 kB
  • sloc: makefile: 31
file content (8 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
// +build !windows,!plan9,!linux,!openbsd

package bbolt

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