"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
fs: fix typos found by codespell
Dimitri Papadopoulosf6576237a46a
diff --git a/fs/accounting/transfer.go b/fs/accounting/transfer.goindex c5b9862aa..d4515e201 100644--- a/fs/accounting/transfer.go+++ b/fs/accounting/transfer.go@@ -192,7 +192,7 @@ func (tr *Transfer) Snapshot() TransferSnapshot {// rcStats returns stats for the transfer suitable for the rcfunc (tr *Transfer) rcStats() rc.Params {return rc.Params{- "name": tr.remote, // no locking needed to access thess+ "name": tr.remote, // no locking needed to access this"size": tr.size,}}diff --git a/fs/backend_config.go b/fs/backend_config.goindex 1e188a0ac..a65239834 100644--- a/fs/backend_config.go+++ b/fs/backend_config.go@@ -376,7 +376,7 @@ func configAll(ctx context.Context, name string, m configmap.Mapper, ri *RegInfo//// *all-ACTION,NUMBER,ADVANCED//- // Where NUMBER is the curent state, ADVANCED is a flag true or false+ // Where NUMBER is the current state, ADVANCED is a flag true or false// to say whether we are asking about advanced config and// ACTION is what the state should be doing next.stateParams, state := StatePop(in.State)diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.goindex 18b7bfc36..37ebe99c4 100644--- a/fs/operations/operations_test.go+++ b/fs/operations/operations_test.go@@ -789,7 +789,7 @@ func TestCopyURL(t *testing.T) {headerFilename := "headerfilename.txt"handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {if status != 0 {- http.Error(w, "an error ocurred", status)+ http.Error(w, "an error occurred", status)}if nameHeader {w.Header().Set("Content-Disposition", `attachment; filename="folder\`+headerFilename+`"`)@@ -863,7 +863,7 @@ func TestCopyURLToWriter(t *testing.T) {status := 0handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {if status != 0 {- http.Error(w, "an error ocurred", status)+ http.Error(w, "an error occurred", status)return}_, err := w.Write([]byte(contents))@@ -1694,7 +1694,7 @@ func TestRcatMetadata(t *testing.T) {gotMeta, err := fs.GetMetadata(ctx, o)require.NoError(t, err)// Check the specific user data we set is set- // Likey there will be other values+ // Likely there will be other valuesassert.Equal(t, "value", gotMeta["key"])assert.Equal(t, "potato", gotMeta["sausage"])@@ -1781,7 +1781,7 @@ func TestRcatSizeMetadata(t *testing.T) {gotMeta, err := fs.GetMetadata(ctx, o)require.NoError(t, err)// Check the specific user data we set is set- // Likey there will be other values+ // Likely there will be other valuesassert.Equal(t, "value", gotMeta["key"])assert.Equal(t, "potato", gotMeta["sausage"])}diff --git a/fs/rc/rc.go b/fs/rc/rc.goindex c45f61cf9..3b150b5f4 100644--- a/fs/rc/rc.go+++ b/fs/rc/rc.go@@ -1,7 +1,7 @@// Package rc implements a remote control server and registry for rclone//// To register your internal calls, call rc.Add(path, function). Your-// function should take ane return a Param. It can also return an+// function should take and return a Param. It can also return an// error. Use rc.NewError to wrap an existing error along with an// http response type if another response other than 500 internal// error is required on error.