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:
@@ -1031,6 +1031,10 @@ func decodeDirObject(object string) string {
|
||||
return object
|
||||
}
|
||||
|
||||
func isDirObject(object string) bool {
|
||||
return HasSuffix(object, globalDirSuffix)
|
||||
}
|
||||
|
||||
// Helper method to return total number of nodes in cluster
|
||||
func totalNodeCount() uint64 {
|
||||
peers, _ := globalEndpoints.peers()
|
||||
|
||||
Reference in New Issue
Block a user