{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/flysystem/issues/442","labels_url":"https://api.github.com/repos/thephpleague/flysystem/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/flysystem/issues/442/comments","events_url":"https://api.github.com/repos/thephpleague/flysystem/issues/442/events","html_url":"https://github.com/thephpleague/flysystem/issues/442","id":59864547,"number":442,"title":"Cannot check if given path is a directory","user":{"login":"tpavlek","id":782576,"avatar_url":"https://avatars.githubusercontent.com/u/782576?v=3","gravatar_id":"","url":"https://api.github.com/users/tpavlek","html_url":"https://github.com/tpavlek","followers_url":"https://api.github.com/users/tpavlek/followers","following_url":"https://api.github.com/users/tpavlek/following{/other_user}","gists_url":"https://api.github.com/users/tpavlek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpavlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpavlek/subscriptions","organizations_url":"https://api.github.com/users/tpavlek/orgs","repos_url":"https://api.github.com/users/tpavlek/repos","events_url":"https://api.github.com/users/tpavlek/events{/privacy}","received_events_url":"https://api.github.com/users/tpavlek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T21:25:31Z","updated_at":"2015-03-06T21:27:59Z","closed_at":"2015-03-06T21:27:59Z","body":"Given a particular `/path/to/directory/`, I want to determine if `directory` is actually a directory.\r\n\r\nThere doesn't seem to be a way to accomplish this short of using some string manipulation to go down to `/path/to` and list all directories and see if `directory` is in there.\r\n\r\nIs there a better way to do this, and if not, there really ought to be."},"comment":{"url":"https://api.github.com/repos/thephpleague/flysystem/issues/comments/77639193","html_url":"https://github.com/thephpleague/flysystem/issues/442#issuecomment-77639193","issue_url":"https://api.github.com/repos/thephpleague/flysystem/issues/442","id":77639193,"user":{"login":"tpavlek","id":782576,"avatar_url":"https://avatars.githubusercontent.com/u/782576?v=3","gravatar_id":"","url":"https://api.github.com/users/tpavlek","html_url":"https://github.com/tpavlek","followers_url":"https://api.github.com/users/tpavlek/followers","following_url":"https://api.github.com/users/tpavlek/following{/other_user}","gists_url":"https://api.github.com/users/tpavlek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpavlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpavlek/subscriptions","organizations_url":"https://api.github.com/users/tpavlek/orgs","repos_url":"https://api.github.com/users/tpavlek/repos","events_url":"https://api.github.com/users/tpavlek/events{/privacy}","received_events_url":"https://api.github.com/users/tpavlek/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T21:27:59Z","updated_at":"2015-03-06T21:27:59Z","body":"Thanks, this was exactly what I needed :)"}}