From e0d477804b583163b4b5696d24a2ccf8c0bb11e3 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sun, 16 Feb 2025 16:20:46 +0000 Subject: [PATCH] docs: fix various typos Found via `codespell -q 3 -S "./docs/static,./fs/rc/params_test.go" -L aadd,afile,alledges,bbefore,bu,buda,copys,couldn,crashers,crypted,ddelete,deriver,failre,goup,hashin,hel,inbraces,keep-alives,ket,medias,ment,mis,nd,nin,notin,ois,ot,parth,re-use,re-using,responser,rin,sav,splited,streamin,synching,te,twoo,ue,unknwon,wasn` --- backend/iclouddrive/api/drive.go | 2 +- backend/s3/ibm_signer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/iclouddrive/api/drive.go b/backend/iclouddrive/api/drive.go index 5d735ebbd..2a8c7e375 100644 --- a/backend/iclouddrive/api/drive.go +++ b/backend/iclouddrive/api/drive.go @@ -476,7 +476,7 @@ func (d *DriveService) MoveItemByDriveID(ctx context.Context, id, etag, dstID st // CopyDocByItemID copies a document by its item ID. func (d *DriveService) CopyDocByItemID(ctx context.Context, itemID string) (*DriveItemRaw, *http.Response, error) { - // putting name in info doesnt work. extension does work so assume this is a bug in the endpoint + // putting name in info doesn't work. extension does work so assume this is a bug in the endpoint values := map[string]any{ "info_to_update": map[string]any{}, } diff --git a/backend/s3/ibm_signer.go b/backend/s3/ibm_signer.go index 87c1a3feb..e1f9d1831 100644 --- a/backend/s3/ibm_signer.go +++ b/backend/s3/ibm_signer.go @@ -40,7 +40,7 @@ func (signer *IbmIamSigner) SignHTTP(ctx context.Context, credentials aws.Creden return nil } -// NoOpCredentialsProvider is needed since S3 SDK requires having credentials, eventhough authentication is happening via IBM IAM. +// NoOpCredentialsProvider is needed since S3 SDK requires having credentials, even though authentication is happening via IBM IAM. type NoOpCredentialsProvider struct{} // Retrieve returns mock credentials for the NoOpCredentialsProvider.