File: bolt_linux.go

package info (click to toggle)
golang-github-coreos-bbolt 1.3.1-coreos.5-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, experimental, sid
  • size: 600 kB
  • sloc: makefile: 25
file content (10 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
package bolt

import (
	"syscall"
)

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