mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
heal: Remove empty directories (#11354)
Since the introduction of __XLDIR__, an empty directory does not have a meaning anymore in erasure mode. Make healing removes it wherever it finds it.
This commit is contained in:
@@ -76,6 +76,8 @@ type FileInfoVersions struct {
|
||||
// Name of the file.
|
||||
Name string
|
||||
|
||||
IsEmptyDir bool
|
||||
|
||||
// Represents the latest mod time of the
|
||||
// latest version.
|
||||
LatestModTime time.Time
|
||||
|
||||
Reference in New Issue
Block a user