Files
wazero/internal/platform/datasync_unsupported.go
Crypt Keeper e5dc733df7 Adds Path to platform.File and refactors tests (#1431)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Co-authored-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-05-04 07:05:40 +08:00

14 lines
199 B
Go

//go:build !linux
package platform
import (
"io/fs"
"syscall"
)
func datasync(f fs.File) syscall.Errno {
// Attempt to sync everything, even if we only need to sync the data.
return sync(f)
}