"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
onedrive: graph: Refine config keys naming
Cnly1749fb8ebfda
diff --git a/backend/onedrive/onedrive.go b/backend/onedrive/onedrive.goindex 77bdc05c8..43962a518 100644--- a/backend/onedrive/onedrive.go+++ b/backend/onedrive/onedrive.go@@ -38,8 +38,8 @@ const (maxSleep = 2 * time.SeconddecayConstant = 2 // bigger for slower decay, exponentialgraphURL = "https://graph.microsoft.com/v1.0"- configGraphID = "graphID"- configDriveType = "driveType"+ configDriveID = "drive_id"+ configDriveType = "drive_type"driveTypePersonal = "personal"driveTypeBusiness = "business"driveTypeSharepoint = "documentLibrary"@@ -210,7 +210,7 @@ func init() {log.Fatalf("Cancelled by user")}- config.FileSet(name, configGraphID, finalDriveID)+ config.FileSet(name, configDriveID, finalDriveID)config.FileSet(name, configDriveType, rootItem.ParentReference.DriveType)},Options: []fs.Option{{@@ -361,7 +361,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {}// get the graphID part from the config file- driveID := config.FileGet(name, configGraphID, "")+ driveID := config.FileGet(name, configDriveID, "")driveType := config.FileGet(name, configDriveType)root = parsePath(root)