From cae24fe28b2e1dd6162f6bd9361161761ebd1d3f Mon Sep 17 00:00:00 2001 From: MRtecno98 Date: Sun, 28 Jul 2024 16:01:42 +0200 Subject: [PATCH] add sftpfs Sync method --- sftpfs/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sftpfs/file.go b/sftpfs/file.go index adf100b..f579355 100644 --- a/sftpfs/file.go +++ b/sftpfs/file.go @@ -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 {