mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
zoho: remove unused code (fixes issue reported by the unused linter)
This commit is contained in:
@@ -331,15 +331,6 @@ func parsePath(path string) (root string) {
|
|||||||
return
|
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
|
// readMetaDataForPath reads the metadata from the path
|
||||||
func (f *Fs) readMetaDataForPath(ctx context.Context, path string) (info *api.Item, err error) {
|
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)
|
// defer fs.Trace(f, "path=%q", path)("info=%+v, err=%v", &info, &err)
|
||||||
|
|||||||
Reference in New Issue
Block a user