Portability.

This commit is contained in:
Nuno Cruces
2023-09-18 12:43:57 +01:00
parent 38d4254bc4
commit 2d91760295
10 changed files with 123 additions and 40 deletions

9
vfs/os_std_sync.go Normal file
View File

@@ -0,0 +1,9 @@
//go:build !linux && (!darwin || sqlite3_bsd)
package vfs
import "os"
func osSync(file *os.File, fullsync, dataonly bool) error {
return file.Sync()
}