"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
docs: fix some comments
yumeiyin2257c03391be
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 5f54a1cc6..d1868b2c9 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -2833,7 +2833,7 @@ func (f *Fs) Copy(ctx context.Context, src fs.Object, remote string) (fs.Object,// FIXME remove this when google fixes the problem!if isDoc {// A short sleep is needed here in order to make the- // change effective, without it is is ignored. This is+ // change effective, without it is ignored. This is// probably some eventual consistency nastiness.sleepTime := 2 * time.Secondfs.Debugf(f, "Sleeping for %v before setting the modtime to work around drive bug - see #4517", sleepTime)diff --git a/backend/zoho/api/types.go b/backend/zoho/api/types.goindex cb8b7bf44..2414f977c 100644--- a/backend/zoho/api/types.go+++ b/backend/zoho/api/types.go@@ -90,7 +90,7 @@ type UploadResponse struct {Uploads []UploadInfo `json:"data"`}-// WriteMetadataRequest is is used to write metadata for a+// WriteMetadataRequest is used to write metadata for a// single itemtype WriteMetadataRequest struct {Data WriteMetadata `json:"data"`diff --git a/cmd/bisync/checkfn.go b/cmd/bisync/checkfn.goindex 8cc6e13c4..19ac7cd16 100644--- a/cmd/bisync/checkfn.go+++ b/cmd/bisync/checkfn.go@@ -64,7 +64,7 @@ func WhichCheck(ctx context.Context, opt *operations.CheckOpt) *operations.Check}}- // if we've gotten this far, niether check or cryptcheck will work, so use --download+ // if we've gotten this far, neither check or cryptcheck will work, so use --downloadfs.Infof(fdst, "Can't compare hashes, so using check --download for safety. (Use --size-only or --ignore-checksum to disable)")opt.Check = DownloadCheckFnreturn optdiff --git a/cmd/bisync/resolve.go b/cmd/bisync/resolve.goindex 534c81db7..83b60044b 100644--- a/cmd/bisync/resolve.go+++ b/cmd/bisync/resolve.go@@ -274,7 +274,7 @@ func (ri *renamesInfo) getNames(is1to2 bool) (srcOldName, srcNewName, dstOldNamereturn ri.path2.oldName, ri.path2.newName, ri.path1.oldName, ri.path1.newName}-// work out the lowest number that niether side has, return it for suffix+// work out the lowest number that neither side has, return it for suffixfunc (b *bisyncRun) numerate(ctx context.Context, startnum int, file, alias string) int {for i := startnum; i < math.MaxInt; i++ {iStr := fmt.Sprint(i)