...

Source file src/github.com/tetratelabs/wazero/internal/sysfs/datasync_unsupported.go

Documentation: github.com/tetratelabs/wazero/internal/sysfs

     1  //go:build !linux
     2  
     3  package sysfs
     4  
     5  import (
     6  	"os"
     7  
     8  	"github.com/tetratelabs/wazero/experimental/sys"
     9  )
    10  
    11  func datasync(f *os.File) sys.Errno {
    12  	// Attempt to sync everything, even if we only need to sync the data.
    13  	return fsync(f)
    14  }
    15  

View as plain text