mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
s3: Force a prefix removal using a special header (#12504)
An S3 client can send `x-minio-force-delete: true` to remove a prefix.
This commit is contained in:
@@ -58,6 +58,8 @@ type ObjectOptions struct {
|
||||
ProxyHeaderSet bool // only set for GET/HEAD in active-active replication scenario
|
||||
ParentIsObject func(ctx context.Context, bucket, parent string) bool // Used to verify if parent is an object.
|
||||
|
||||
DeletePrefix bool // set true to enforce a prefix deletion, only application for DeleteObject API,
|
||||
|
||||
// Use the maximum parity (N/2), used when saving server configuration files
|
||||
MaxParity bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user