...

Source file src/go.etcd.io/bbolt/boltsync_unix.go

Documentation: go.etcd.io/bbolt

     1  //go:build !windows && !plan9 && !linux && !openbsd
     2  // +build !windows,!plan9,!linux,!openbsd
     3  
     4  package bbolt
     5  
     6  // fdatasync flushes written data to a file descriptor.
     7  func fdatasync(db *DB) error {
     8  	return db.file.Sync()
     9  }
    10  

View as plain text