Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2017 Changes in this version + func New(client *sftp.Client) afero.Fs + type File struct + func FileCreate(s *sftp.Client, name string) (*File, error) + func FileOpen(s *sftp.Client, name string) (*File, error) + func (f *File) Close() error + func (f *File) Name() string + func (f *File) Read(b []byte) (n int, err error) + func (f *File) ReadAt(b []byte, off int64) (n int, err error) + func (f *File) Readdir(count int) (res []os.FileInfo, err error) + func (f *File) Readdirnames(n int) (names []string, err error) + func (f *File) Seek(offset int64, whence int) (int64, error) + func (f *File) Stat() (os.FileInfo, error) + func (f *File) Sync() error + func (f *File) Truncate(size int64) error + func (f *File) Write(b []byte) (n int, err error) + func (f *File) WriteAt(b []byte, off int64) (n int, err error) + func (f *File) WriteString(s string) (ret int, err error) + type Fs struct + func (s Fs) Chmod(name string, mode os.FileMode) error + func (s Fs) Chtimes(name string, atime time.Time, mtime time.Time) error + func (s Fs) Create(name string) (afero.File, error) + func (s Fs) Lstat(p string) (os.FileInfo, error) + func (s Fs) Mkdir(name string, perm os.FileMode) error + func (s Fs) MkdirAll(path string, perm os.FileMode) error + func (s Fs) Name() string + func (s Fs) Open(name string) (afero.File, error) + func (s Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (s Fs) Remove(name string) error + func (s Fs) RemoveAll(path string) error + func (s Fs) Rename(oldname, newname string) error + func (s Fs) Stat(name string) (os.FileInfo, error)