github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/vfs/os_std_sync.go (about)

     1  //go:build !(linux || darwin) || sqlite3_flock || sqlite3_nosys
     2  
     3  package vfs
     4  
     5  import "os"
     6  
     7  func osSync(file *os.File, _ /*fullsync*/, _ /*dataonly*/ bool) error {
     8  	return file.Sync()
     9  }