mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
change directory objects to never create new versions (#17109)
This commit is contained in:
@@ -55,7 +55,7 @@ func (e metaCacheEntry) isObject() bool {
|
||||
return len(e.metadata) > 0
|
||||
}
|
||||
|
||||
// isObjectDir returns if the entry is representing an object__XL_DIR__
|
||||
// isObjectDir returns if the entry is representing an object/
|
||||
func (e metaCacheEntry) isObjectDir() bool {
|
||||
return len(e.metadata) > 0 && strings.HasSuffix(e.name, slashSeparator)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user