"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: cleanup brand name
YFdyh000b5818454f7a5
diff --git a/backend/box/box.go b/backend/box/box.goindex 93b2cd0cc..a6a33efdb 100644--- a/backend/box/box.go+++ b/backend/box/box.go@@ -266,7 +266,7 @@ type Fs struct {root string // the path we are working onopt Options // parsed optionsfeatures *fs.Features // optional features- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverdirCache *dircache.DirCache // Map of directory path to directory idpacer *fs.Pacer // pacer for API callstokenRenewer *oauthutil.Renew // renew the token on expirydiff --git a/backend/filefabric/filefabric.go b/backend/filefabric/filefabric.goindex fa3e7a178..ecfedbd0b 100644--- a/backend/filefabric/filefabric.go+++ b/backend/filefabric/filefabric.go@@ -150,7 +150,7 @@ type Fs struct {opt Options // parsed optionsfeatures *fs.Features // optional featuresm configmap.Mapper // to save config- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverdirCache *dircache.DirCache // Map of directory path to directory idpacer *fs.Pacer // pacer for API callstokenMu sync.Mutex // hold when reading the tokendiff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.goindex 238d6c783..c743ddec4 100644--- a/backend/googlephotos/googlephotos.go+++ b/backend/googlephotos/googlephotos.go@@ -178,7 +178,7 @@ type Fs struct {opt Options // parsed optionsfeatures *fs.Features // optional featuresunAuth *rest.Client // unauthenticated http client- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverts *oauthutil.TokenSource // token source for oauth2pacer *fs.Pacer // To pace the API callsstartTime time.Time // time Fs was started - used for datestampsdiff --git a/backend/onedrive/api/types.go b/backend/onedrive/api/types.goindex bfde10161..9d5cad6ba 100644--- a/backend/onedrive/api/types.go+++ b/backend/onedrive/api/types.go@@ -13,7 +13,7 @@ const (PackageTypeOneNote = "oneNote")-// Error is returned from one drive when things go wrong+// Error is returned from OneDrive when things go wrongtype Error struct {ErrorInfo struct {Code string `json:"code"`diff --git a/backend/onedrive/onedrive.go b/backend/onedrive/onedrive.goindex c0674c9c5..29afd3976 100644--- a/backend/onedrive/onedrive.go+++ b/backend/onedrive/onedrive.go@@ -600,14 +600,14 @@ type Options struct {Enc encoder.MultiEncoder `config:"encoding"`}-// Fs represents a remote one drive+// Fs represents a remote OneDrivetype Fs struct {name string // name of this remoteroot string // the path we are working onopt Options // parsed optionsci *fs.ConfigInfo // global configfeatures *fs.Features // optional features- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the OneDrive serverdirCache *dircache.DirCache // Map of directory path to directory idpacer *fs.Pacer // pacer for API callstokenRenewer *oauthutil.Renew // renew the token on expiry@@ -615,7 +615,7 @@ type Fs struct {driveType string // https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/drive}-// Object describes a one drive object+// Object describes a OneDrive object//// Will definitely have info but maybe not metatype Object struct {@@ -645,7 +645,7 @@ func (f *Fs) Root() string {// String converts this Fs to a stringfunc (f *Fs) String() string {- return fmt.Sprintf("One drive root '%s'", f.root)+ return fmt.Sprintf("OneDrive root '%s'", f.root)}// Features returns the optional features of this Fs@@ -653,7 +653,7 @@ func (f *Fs) Features() *fs.Features {return f.features}-// parsePath parses a one drive 'url'+// parsePath parses a OneDrive 'url'func parsePath(path string) (root string) {root = strings.Trim(path, "/")returndiff --git a/backend/seafile/seafile.go b/backend/seafile/seafile.goindex 1413544ee..d1c2abdbc 100644--- a/backend/seafile/seafile.go+++ b/backend/seafile/seafile.go@@ -137,7 +137,7 @@ type Fs struct {features *fs.Features // optional featuresendpoint *url.URL // URL of the hostendpointURL string // endpoint as a string- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverpacer *fs.Pacer // pacer for API callsauthMu sync.Mutex // Mutex to protect library decryptioncreateDirMutex sync.Mutex // Protect creation of directoriesdiff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.goindex 7078de975..1676c0949 100644--- a/backend/sugarsync/sugarsync.go+++ b/backend/sugarsync/sugarsync.go@@ -200,7 +200,7 @@ type Fs struct {root string // the path we are working onopt Options // parsed optionsfeatures *fs.Features // optional features- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverdirCache *dircache.DirCache // Map of directory path to directory idpacer *fs.Pacer // pacer for API callsm configmap.Mapper // config file accessdiff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex ff5595f1b..8a815cef8 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -148,7 +148,7 @@ type Fs struct {features *fs.Features // optional featuresendpoint *url.URL // URL of the hostendpointURL string // endpoint as a string- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverpacer *fs.Pacer // pacer for API callsprecision time.Duration // mod time precisioncanStream bool // set if can streamdiff --git a/backend/zoho/zoho.go b/backend/zoho/zoho.goindex 167fa03ea..2af35daac 100644--- a/backend/zoho/zoho.go+++ b/backend/zoho/zoho.go@@ -206,7 +206,7 @@ type Fs struct {root string // the path we are working onopt Options // parsed optionsfeatures *fs.Features // optional features- srv *rest.Client // the connection to the one drive server+ srv *rest.Client // the connection to the serverdirCache *dircache.DirCache // Map of directory path to directory idpacer *fs.Pacer // pacer for API calls}