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

backup: Return nil error for delete of nonexistent directory #687

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

mskwon
Copy link
Contributor

@mskwon mskwon commented Jul 7, 2023

Make it so that deleting a directory is idempotent, returning a nil error if the directory is already deleted. This makes it so that one can call the Clean function in a way that it ensures the local state is clean rather than needing to be concerned about whether or not the shadow directory is existent at the time.

Fixes #686

Make it so that deleting a directory is idempotent, returning a nil
error if the directory is already deleted. This makes it so that
one can call the Clean function in a way that it ensures the local
state is clean rather than needing to be concerned about whether or
not the shadow directory is existent at the time.

Fixes Altinity#686
@Slach Slach merged commit bb403fd into Altinity:master Jul 8, 2023
7 of 16 checks passed
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.

Make it so that Clean doesn't fail if shadow directory doesn't exist
2 participants