add sftpfs Sync method

This commit is contained in:
MRtecno98 2024-07-28 16:01:42 +02:00
parent 2868226784
commit cae24fe28b
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func (f *File) Stat() (os.FileInfo, error) {
} }
func (f *File) Sync() error { func (f *File) Sync() error {
return nil return f.fd.Sync()
} }
func (f *File) Truncate(size int64) error { func (f *File) Truncate(size int64) error {