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

'CleanupOrFail': Cleanup but returns error if it would cleanup with -u #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chipaca
Copy link

@chipaca chipaca commented Mar 22, 2021

I'd rather know early if there are snapshots that need cleaning up,
rather than finding out while adding something unrelated. Keeps things
tidy.

I thought of giving Cleanup() this behaviour directly, but suspected a
breaking change like that would not be welcome. So instead I wrote its
wacky sister function. If you see the name, cringe, and think of a
better one, speak up -- I'm terrible at names.

HTH, HAND!

I'd rather know early if there are snapshots that need cleaning up,
rather than finding out while adding something unrelated. Keeps things
tidy.

I thought of giving Cleanup() this behaviour directly, but suspected a
breaking change like that would not be welcome. So instead I wrote its
wacky sister function. If you see the name, cringe, and think of a
better one, speak up -- I'm terrible at names.

HTH, HAND!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant