Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

chore: fix function names in comment

yudrywet50aa6779344f
diff --git a/backend/b2/b2.go b/backend/b2/b2.go
index 01f45033c..b019412df 100644
--- a/backend/b2/b2.go
+++ b/backend/b2/b2.go
@@ -363,7 +363,7 @@ var retryErrorCodes = []int{
504, // Gateway Time-out
}
-// shouldRetryNoAuth returns a boolean as to whether this resp and err
+// shouldRetryNoReauth returns a boolean as to whether this resp and err
// deserve to be retried. It returns the err as a convenience
func (f *Fs) shouldRetryNoReauth(ctx context.Context, resp *http.Response, err error) (bool, error) {
if fserrors.ContextError(ctx, &err) {
diff --git a/backend/cache/handle.go b/backend/cache/handle.go
index a7a1497e1..df1029c46 100644
--- a/backend/cache/handle.go
+++ b/backend/cache/handle.go
@@ -119,7 +119,7 @@ func (r *Handle) startReadWorkers() {
r.scaleWorkers(totalWorkers)
}
-// scaleOutWorkers will increase the worker pool count by the provided amount
+// scaleWorkers will increase the worker pool count by the provided amount
func (r *Handle) scaleWorkers(desired int) {
current := r.workers
if current == desired {
diff --git a/backend/drive/drive.go b/backend/drive/drive.go
index a62d47ca9..0e97d9553 100644
--- a/backend/drive/drive.go
+++ b/backend/drive/drive.go
@@ -1919,7 +1919,7 @@ func (f *Fs) findExportFormatByMimeType(ctx context.Context, itemMimeType string
return "", "", isDocument
}
-// findExportFormatByMimeType works out the optimum export settings
+// findExportFormat works out the optimum export settings
// for the given drive.File.
//
// Look through the exportExtensions and find the first format that can be
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.go
index 235e121be..bd4f28c05 100644
--- a/backend/dropbox/dropbox.go
+++ b/backend/dropbox/dropbox.go
@@ -644,7 +644,7 @@ func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) {
return f.newObjectWithInfo(ctx, remote, nil)
}
-// listSharedFoldersApi lists all available shared folders mounted and not mounted
+// listSharedFolders lists all available shared folders mounted and not mounted
// we'll need the id later so we have to return them in original format
func (f *Fs) listSharedFolders(ctx context.Context) (entries fs.DirEntries, err error) {
started := false