"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: adds special oauth help test - fixes #4555
Tim Gallantc3884aafd906
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 2e4b6cb16..26606f7ca 100755--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -157,6 +157,17 @@ func driveScopesContainsAppFolder(scopes []string) bool {return false}+func driveOAuthOptions() []fs.Option {+ opts := []fs.Option{}+ for _, opt := range oauthutil.SharedOptions {+ if opt.Name == config.ConfigClientID {+ opt.Help = "Google Application Client Id\nSetting your own is recommended.\nSee https://rclone.org/drive/#making-your-own-client-id for how to create your own.\nIf you leave this blank, it will use an internal key which is low performance."+ }+ opts = append(opts, opt)+ }+ return opts+}+// Register with Fsfunc init() {fs.Register(&fs.RegInfo{@@ -192,7 +203,7 @@ func init() {log.Fatalf("Failed to configure team drive: %v", err)}},- Options: append(oauthutil.SharedOptions, []fs.Option{{+ Options: append(driveOAuthOptions(), []fs.Option{{Name: "scope",Help: "Scope that rclone should use when requesting access from drive.",Examples: []fs.OptionExample{{