mirror of https://github.com/spf13/afero.git
Add sftpfs files ReadAt method
This commit is contained in:
parent
2a70f2bb2d
commit
b25655bc07
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue