add sftp file WriteAt

This commit is contained in:
MRtecno98 2024-07-28 15:55:29 +02:00
parent b25655bc07
commit 2868226784
1 changed files with 1 additions and 2 deletions

View File

@ -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) {