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)
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