File: boltsync_unix.go

package info (click to toggle)
golang-github-nebulouslabs-bolt 1.0%2Bgit20170823.0.a22e934-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 492 kB
  • sloc: makefile: 17
file content (8 lines) | stat: -rw-r--r-- 169 bytes parent folder | download | duplicates (11)
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()
}