Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Ability to view blank folders #10

Closed
andrewiankidd opened this issue Oct 7, 2016 · 1 comment
Closed

Ability to view blank folders #10

andrewiankidd opened this issue Oct 7, 2016 · 1 comment
Labels

Comments

@andrewiankidd
Copy link
Owner

andrewiankidd commented Oct 7, 2016

empty folders dont work...
this is because the current hack to get folders is to split by /, could patch this but going to move to a combination of lsd and lsl instead for better performance

ie currently it works via
lstExplorer.items = rclone lsl remote:/path/ & split by / to tell if directory or not
(since empty folders only have content on one side of the slash, they get skipped over)

new way:
lstExplorer.items = rclone lsd remote:/path/
lstExplorer.items += rclone lsl -max-depth 1

which instead of one big slow query and function, two quick querys return the exact needed data

@andrewiankidd
Copy link
Owner Author

02b4908

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant