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

zoho: remove unused code (fixes issue reported by the unused linter)

albertony5f3c276d0a0f
diff --git a/backend/zoho/zoho.go b/backend/zoho/zoho.go
index f9fc6eb6b..25b5d24af 100644
--- a/backend/zoho/zoho.go
+++ b/backend/zoho/zoho.go
@@ -331,15 +331,6 @@ func parsePath(path string) (root string) {
return
}
-func (f *Fs) splitPath(remote string) (directory, leaf string) {
- directory, leaf = dircache.SplitPath(remote)
- if f.root != "" {
- // Adds the root folder to the path to get a full path
- directory = path.Join(f.root, directory)
- }
- return
-}
-
// readMetaDataForPath reads the metadata from the path
func (f *Fs) readMetaDataForPath(ctx context.Context, path string) (info *api.Item, err error) {
// defer fs.Trace(f, "path=%q", path)("info=%+v, err=%v", &info, &err)