diff options
author | Achille Roussel <[email protected]> | 2023-05-01 11:07:29 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-05-03 19:37:53 +0200 |
commit | ccfe92a58cac6f3d8dd286c357ba8fbdd7a0eab6 (patch) | |
tree | b0e65a11f8bd15891af4a98146a2b982d7447872 /src/os/file_windows.go | |
parent | 4fa6a132e25fc9b6eabf826c8a7f38b628868f09 (diff) | |
download | tinygo-ccfe92a58cac6f3d8dd286c357ba8fbdd7a0eab6.tar.gz tinygo-ccfe92a58cac6f3d8dd286c357ba8fbdd7a0eab6.zip |
os: add os.(*File).Sync
Signed-off-by: Achille Roussel <[email protected]>
Diffstat (limited to 'src/os/file_windows.go')
-rw-r--r-- | src/os/file_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/file_windows.go b/src/os/file_windows.go index 572a82f27..f882ea214 100644 --- a/src/os/file_windows.go +++ b/src/os/file_windows.go @@ -90,6 +90,10 @@ func (f unixFileHandle) Seek(offset int64, whence int) (int64, error) { return newoffset, handleSyscallError(err) } +func (f unixFileHandle) Sync() error { + return ErrNotImplemented +} + // isWindowsNulName reports whether name is os.DevNull ('NUL') on Windows. // True is returned if name is 'NUL' whatever the case. func isWindowsNulName(name string) bool { |