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

backend: fix misspellings found by codespell

Dimitri Papadopoulos708391a5bfa0
diff --git a/backend/combine/combine.go b/backend/combine/combine.go
index d0e747376..9f5713ff2 100644
--- a/backend/combine/combine.go
+++ b/backend/combine/combine.go
@@ -954,7 +954,7 @@ func (f *Fs) MergeDirs(ctx context.Context, dirs []fs.Directory) error {
if u == nil {
u = uNew
} else if u != uNew {
- return fmt.Errorf("can't merge dirctories from different upstreams")
+ return fmt.Errorf("can't merge directories from different upstreams")
}
uDirs = append(uDirs, fs.NewOverrideDirectory(dir, uDir))
}
diff --git a/backend/crypt/crypt.go b/backend/crypt/crypt.go
index 5b8ff2c8a..281805fd5 100644
--- a/backend/crypt/crypt.go
+++ b/backend/crypt/crypt.go
@@ -126,7 +126,7 @@ names, or for debugging purposes.`,
Help: `If set this will pass bad blocks through as all 0.
This should not be set in normal operation, it should only be set if
-trying to recover a crypted file with errors and it is desired to
+trying to recover an encrypted file with errors and it is desired to
recover as much of the file as possible.`,
Default: false,
Advanced: true,