Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

onedrive: cleanup brand name

YFdyh000b5818454f7a5
diff --git a/backend/box/box.go b/backend/box/box.go
index 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 on
opt Options // parsed options
features *fs.Features // optional features
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
dirCache *dircache.DirCache // Map of directory path to directory id
pacer *fs.Pacer // pacer for API calls
tokenRenewer *oauthutil.Renew // renew the token on expiry
diff --git a/backend/filefabric/filefabric.go b/backend/filefabric/filefabric.go
index fa3e7a178..ecfedbd0b 100644
--- a/backend/filefabric/filefabric.go
+++ b/backend/filefabric/filefabric.go
@@ -150,7 +150,7 @@ type Fs struct {
opt Options // parsed options
features *fs.Features // optional features
m configmap.Mapper // to save config
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
dirCache *dircache.DirCache // Map of directory path to directory id
pacer *fs.Pacer // pacer for API calls
tokenMu sync.Mutex // hold when reading the token
diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.go
index 238d6c783..c743ddec4 100644
--- a/backend/googlephotos/googlephotos.go
+++ b/backend/googlephotos/googlephotos.go
@@ -178,7 +178,7 @@ type Fs struct {
opt Options // parsed options
features *fs.Features // optional features
unAuth *rest.Client // unauthenticated http client
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
ts *oauthutil.TokenSource // token source for oauth2
pacer *fs.Pacer // To pace the API calls
startTime time.Time // time Fs was started - used for datestamps
diff --git a/backend/onedrive/api/types.go b/backend/onedrive/api/types.go
index 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 wrong
type Error struct {
ErrorInfo struct {
Code string `json:"code"`
diff --git a/backend/onedrive/onedrive.go b/backend/onedrive/onedrive.go
index 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 OneDrive
type Fs struct {
name string // name of this remote
root string // the path we are working on
opt Options // parsed options
ci *fs.ConfigInfo // global config
features *fs.Features // optional features
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the OneDrive server
dirCache *dircache.DirCache // Map of directory path to directory id
pacer *fs.Pacer // pacer for API calls
tokenRenewer *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 meta
type Object struct {
@@ -645,7 +645,7 @@ func (f *Fs) Root() string {
// String converts this Fs to a string
func (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, "/")
return
diff --git a/backend/seafile/seafile.go b/backend/seafile/seafile.go
index 1413544ee..d1c2abdbc 100644
--- a/backend/seafile/seafile.go
+++ b/backend/seafile/seafile.go
@@ -137,7 +137,7 @@ type Fs struct {
features *fs.Features // optional features
endpoint *url.URL // URL of the host
endpointURL string // endpoint as a string
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
pacer *fs.Pacer // pacer for API calls
authMu sync.Mutex // Mutex to protect library decryption
createDirMutex sync.Mutex // Protect creation of directories
diff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.go
index 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 on
opt Options // parsed options
features *fs.Features // optional features
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
dirCache *dircache.DirCache // Map of directory path to directory id
pacer *fs.Pacer // pacer for API calls
m configmap.Mapper // config file access
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.go
index ff5595f1b..8a815cef8 100644
--- a/backend/webdav/webdav.go
+++ b/backend/webdav/webdav.go
@@ -148,7 +148,7 @@ type Fs struct {
features *fs.Features // optional features
endpoint *url.URL // URL of the host
endpointURL string // endpoint as a string
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
pacer *fs.Pacer // pacer for API calls
precision time.Duration // mod time precision
canStream bool // set if can stream
diff --git a/backend/zoho/zoho.go b/backend/zoho/zoho.go
index 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 on
opt Options // parsed options
features *fs.Features // optional features
- srv *rest.Client // the connection to the one drive server
+ srv *rest.Client // the connection to the server
dirCache *dircache.DirCache // Map of directory path to directory id
pacer *fs.Pacer // pacer for API calls
}