Skip to content

Commit

Permalink
add sftpfs Sync method
Browse files Browse the repository at this point in the history
  • Loading branch information
MRtecno98 committed Jul 28, 2024
1 parent 2868226 commit cae24fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sftpfs/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (f *File) Stat() (os.FileInfo, error) {
}

func (f *File) Sync() error {
return nil
return f.fd.Sync()
}

func (f *File) Truncate(size int64) error {
Expand Down

0 comments on commit cae24fe

Please sign in to comment.