{"action":"created","issue":{"url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/35","repository_url":"https://api.github.com/repos/untitaker/python-atomicwrites","labels_url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/35/comments","events_url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/35/events","html_url":"https://github.com/untitaker/python-atomicwrites/issues/35","id":348209163,"node_id":"MDU6SXNzdWUzNDgyMDkxNjM=","number":35,"title":"Add `atomic_folder`","user":{"login":"sotte","id":79138,"node_id":"MDQ6VXNlcjc5MTM4","avatar_url":"https://avatars3.githubusercontent.com/u/79138?v=4","gravatar_id":"","url":"https://api.github.com/users/sotte","html_url":"https://github.com/sotte","followers_url":"https://api.github.com/users/sotte/followers","following_url":"https://api.github.com/users/sotte/following{/other_user}","gists_url":"https://api.github.com/users/sotte/gists{/gist_id}","starred_url":"https://api.github.com/users/sotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotte/subscriptions","organizations_url":"https://api.github.com/users/sotte/orgs","repos_url":"https://api.github.com/users/sotte/repos","events_url":"https://api.github.com/users/sotte/events{/privacy}","received_events_url":"https://api.github.com/users/sotte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-07T07:58:12Z","updated_at":"2018-08-07T15:11:36Z","closed_at":null,"author_association":"NONE","body":"Sometimes I have a bunch of operations which create many files in a folder. The folder should only be there in the end of the operation. Something like this:\r\n```python\r\nwith atomic_folder(\"foo\") as folder:\r\n    unzip(something, folder)\r\n    # \"foo/\" doesn't exist yet.\r\n# now it does\r\n```"},"comment":{"url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/comments/411091800","html_url":"https://github.com/untitaker/python-atomicwrites/issues/35#issuecomment-411091800","issue_url":"https://api.github.com/repos/untitaker/python-atomicwrites/issues/35","id":411091800,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTA5MTgwMA==","user":{"login":"untitaker","id":837573,"node_id":"MDQ6VXNlcjgzNzU3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/837573?v=4","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T15:11:36Z","updated_at":"2018-08-07T15:11:36Z","author_association":"OWNER","body":"`mkdir` is already atomic though."}}
{"actor":{"display_login":"untitaker"}}