aboutsummaryrefslogtreecommitdiff
path: root/bolt_darwin.go
blob: 6528f72fd6bf4a1467b464c05b07e74be199d903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package bolt

import (
	"os"
)

var odirect int

// fdatasync flushes written data to a file descriptor.
func fdatasync(f *os.File) error {
	return f.Sync()
}