mirror of
https://github.com/minio/minio-rs.git
synced 2025-12-06 15:26:51 +08:00
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:
parent
e53e151e3e
commit
1af3f72c12
@ -74,6 +74,7 @@ impl Client {
|
||||
let mut stream = self
|
||||
.list_objects(&bucket)
|
||||
.include_versions(true)
|
||||
.recursive(true)
|
||||
.to_stream()
|
||||
.await;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user