Closed rlmestre closed 1 year ago
CI is running/has finished running commands for commit 3300d8f1823e6c7bb3241bacbb22b75a09f26da0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
Sent with 💌 from NxCloud.
I'm going to merge this in and see if I can get a test around it. Without it think it is a bit tricky to release it. Thanks for your work @rlmestre
Fixes #104. Added the following options to delete files as part of an upload:
deleteAfterUpload
: After the upload is successful, get a list of files in the bucket subfolder, exclude newly uploaded files, and delete all remaining objects.deleteBeforeUpload
Before uploading, gets a list of files in the bucket subfolder and deletes them all.I'm not sure if it's worth it to maintain two options, but since both were brought up in the issue, I'm opening this as a draft for discussion.
EDIT: Fixes applied, tested in several scenarios. Should be safe to try now.