"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
sftp: add missing interface check and fix About #3257
Nick Craig-Wooda1840f6fc752
diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.goindex aaa70413b..54e45c295 100644--- a/backend/sftp/sftp.go+++ b/backend/sftp/sftp.go@@ -807,7 +807,7 @@ func (f *Fs) Hashes() hash.Set {}// About gets usage stats-func (f *Fs) About() (*fs.Usage, error) {+func (f *Fs) About(ctx context.Context) (*fs.Usage, error) {c, err := f.getSftpConnection()if err != nil {return nil, errors.Wrap(err, "About get SFTP connection")@@ -1188,5 +1188,6 @@ var (_ fs.PutStreamer = &Fs{}_ fs.Mover = &Fs{}_ fs.DirMover = &Fs{}+ _ fs.Abouter = &Fs{}_ fs.Object = &Object{})