From 5f3c276d0a0fecb4603bdf0e5662e0dcab3f57db Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:23:15 +0100 Subject: [PATCH] zoho: remove unused code (fixes issue reported by the unused linter) --- backend/zoho/zoho.go | 9 --------- 1 file changed, 9 deletions(-) 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)