mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
zoho: remove unused code (fixes issue reported by the unused linter)
This commit is contained in:
parent
9cea493f58
commit
5f3c276d0a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user