{"action":"closed","issue":{"url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer/issues/10","repository_url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer","labels_url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer/issues/10/comments","events_url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer/issues/10/events","html_url":"https://github.com/andrewiankidd/rcloneExplorer/issues/10","id":181637110,"number":10,"title":"Ability to view blank folders","user":{"login":"andrewiankidd","id":17529643,"avatar_url":"https://avatars.githubusercontent.com/u/17529643?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewiankidd","html_url":"https://github.com/andrewiankidd","followers_url":"https://api.github.com/users/andrewiankidd/followers","following_url":"https://api.github.com/users/andrewiankidd/following{/other_user}","gists_url":"https://api.github.com/users/andrewiankidd/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewiankidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewiankidd/subscriptions","organizations_url":"https://api.github.com/users/andrewiankidd/orgs","repos_url":"https://api.github.com/users/andrewiankidd/repos","events_url":"https://api.github.com/users/andrewiankidd/events{/privacy}","received_events_url":"https://api.github.com/users/andrewiankidd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andrewiankidd/rcloneExplorer/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-07T10:40:42Z","updated_at":"2016-10-13T21:05:08Z","closed_at":"2016-10-13T21:05:08Z","body":"empty folders dont work... \r\nthis 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\r\n\r\nie currently it works via\r\nlstExplorer.items = rclone lsl remote:/path/ & split by / to tell if directory or not\r\n(since empty folders only have content on one side of the slash, they get skipped over)\r\n\r\nnew way:\r\nlstExplorer.items = rclone lsd remote:/path/\r\nlstExplorer.items += rclone lsl -max-depth 1\r\n\r\nwhich instead  of one big slow query and function, two quick querys return the exact needed data"}}
{"actor":{"display_login":"andrewiankidd"}}