mirror of https://github.com/spf13/afero.git
add sftp file WriteAt
This commit is contained in:
parent
b25655bc07
commit
2868226784
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue