bugfix (#166) delete_and_purge_bucket add recursive delete
This PR enhances the delete_and_purge_bucket method by enabling recursive traversal when listing objects, ensuring nested items and versions are deleted.
This commit is contained in:
@@ -74,6 +74,7 @@ impl Client {
|
||||
let mut stream = self
|
||||
.list_objects(&bucket)
|
||||
.include_versions(true)
|
||||
.recursive(true)
|
||||
.to_stream()
|
||||
.await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user