mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
allow deletes on directory objects to perform permanent deletes (#17132)
This commit is contained in:
@@ -1038,6 +1038,9 @@ func decodeDirObject(object string) string {
|
||||
}
|
||||
|
||||
func isDirObject(object string) bool {
|
||||
if obj := encodeDirObject(object); obj != object {
|
||||
object = obj
|
||||
}
|
||||
return HasSuffix(object, globalDirSuffix)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user