Skip to content

Conversation

@caco3
Copy link

@caco3 caco3 commented Oct 28, 2023

The iterator gets gets messed up when modifying the directory. Thus we copy() instead of rename() and remove the whole folders/files afterwards in a separate iteration.

See #509
This is a continuation of the fix #510 for #158

@caco3
Copy link
Author

caco3 commented Oct 28, 2023

@kesselb Please also review this one. It should be merged after #510

CaCO3 and others added 4 commits October 28, 2023 20:27
…e copy() instead of rename() and remove the whole folders/files afterwards in a separate iteration.

Signed-off-by: CaCO3 <[email protected]>
Signed-off-by: CaCO3 <[email protected]>
Signed-off-by: CaCO3 <[email protected]>
.
Signed-off-by: CaCO3 <[email protected]>
@caco3
Copy link
Author

caco3 commented Oct 29, 2023

For simplicity and because the #510 and #511 belong together, I directly integrated this PR into #510.

@caco3 caco3 closed this Oct 29, 2023
@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant