prometheus/pages/pagessync_unix.go

9 lines
170 B
Go

// +build !windows,!plan9,!linux,!openbsd
package pages
// fdatasync flushes written data to a file descriptor.
func fdatasync(pb *DB) error {
return pb.file.Sync()
}