Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify atomic write logic #114

Merged
merged 1 commit into from Jul 18, 2019

Conversation

@gsquire
Copy link
Contributor

commented Jul 17, 2019

This PR removes the io.Writer creation over the buffered writer which already is an io.Writer. It also condenses the compression block removing the double Close call.

@stapelberg stapelberg merged commit 73b1bc5 into Debian:master Jul 18, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@stapelberg

This comment has been minimized.

Copy link
Contributor

commented Jul 18, 2019

Thanks!

@gsquire gsquire deleted the gsquire:simplify-atomic-writes branch Jul 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.