File: boltsync_unix.go

package info (click to toggle)
golang-github-coreos-bbolt 1.3.1-coreos.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, experimental, sid
  • size: 600 kB
  • sloc: makefile: 25
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()
}