{"action":"reopened","issue":{"url":"https://api.github.com/repos/TerraME/terrame/issues/834","labels_url":"https://api.github.com/repos/TerraME/terrame/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/TerraME/terrame/issues/834/comments","events_url":"https://api.github.com/repos/TerraME/terrame/issues/834/events","html_url":"https://github.com/TerraME/terrame/issues/834","id":121767149,"number":834,"title":"implement rmFile and rmDir","user":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TerraME/terrame/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/TerraME/terrame/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TerraME/terrame/milestones/5","html_url":"https://github.com/TerraME/terrame/milestones/2.0","labels_url":"https://api.github.com/repos/TerraME/terrame/milestones/5/labels","id":1110764,"number":5,"title":"2.0","description":"- Integration with TerraLib 5.0\r\n- Package 'fillcell'\r\n- Temporal support\r\n- Drivers","creator":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"open_issues":64,"closed_issues":53,"state":"open","created_at":"2015-05-14T19:26:15Z","updated_at":"2015-12-22T12:48:31Z","due_on":"2015-12-23T02:00:00Z","closed_at":null},"comments":3,"created_at":"2015-12-11T18:40:54Z","updated_at":"2015-12-22T12:48:32Z","closed_at":null,"body":"implement deleteFile and deleteDir in FileSystem. There are several points in terrame where we use os.execute directly. It is much safer to encapsulate it into a function. As it is a very dangerous call, I believe it is better to have two functions for files and for directories."}}