"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
drive: allow shortcut resolution and creation to be retried
Nick Craig-Wood250f8d937114
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex b624fa943..c7aeae021 100755--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -689,7 +689,7 @@ func containsString(slice []string, s string) bool {// getFile returns drive.File for the ID passed and fields passed infunc (f *Fs) getFile(ID string, fields googleapi.Field) (info *drive.File, err error) {- err = f.pacer.CallNoRetry(func() (bool, error) {+ err = f.pacer.Call(func() (bool, error) {info, err = f.svc.Files.Get(ID).Fields(fields).SupportsAllDrives(true).@@ -2922,7 +2922,7 @@ func (f *Fs) makeShortcut(ctx context.Context, srcPath string, dstFs *Fs, dstPat}var info *drive.File- err = dstFs.pacer.CallNoRetry(func() (bool, error) {+ err = dstFs.pacer.Call(func() (bool, error) {info, err = dstFs.svc.Files.Create(createInfo).Fields(partialFields).SupportsAllDrives(true).