diff --git a/sftpfs/file.go b/sftpfs/file.go index eef14e3..324282f 100644 --- a/sftpfs/file.go +++ b/sftpfs/file.go @@ -64,9 +64,8 @@ func (f *File) Read(b []byte) (n int, err error) { return f.fd.Read(b) } -// TODO func (f *File) ReadAt(b []byte, off int64) (n int, err error) { - return 0, nil + return f.fd.ReadAt(b, off) } func (f *File) Readdir(count int) (res []os.FileInfo, err error) {