diff --git a/sftpfs/file.go b/sftpfs/file.go index 324282f..adf100b 100644 --- a/sftpfs/file.go +++ b/sftpfs/file.go @@ -100,9 +100,8 @@ func (f *File) Write(b []byte) (n int, err error) { return f.fd.Write(b) } -// TODO func (f *File) WriteAt(b []byte, off int64) (n int, err error) { - return 0, nil + return f.fd.WriteAt(b, off) } func (f *File) WriteString(s string) (ret int, err error) {