os: add os.(*File).Sync

Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
This commit is contained in:
Achille Roussel
2023-05-01 11:07:29 -07:00
committed by Ron Evans
parent 4fa6a132e2
commit ccfe92a58c
8 changed files with 27 additions and 15 deletions
-5
View File
@@ -6,11 +6,6 @@
package os
// Sync is a stub, not yet implemented
func (f *File) Sync() error {
return ErrNotImplemented
}
// Stat is a stub, not yet implemented
func (f *File) Stat() (FileInfo, error) {
return nil, ErrNotImplemented