mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
build: regenerate and verify all generated outputs
Expand the generated-file gate beyond *_gen.go and go.sum to cover generated tests, msgp output, stringer files, go.mod, and untracked generated artifacts. Regenerate the 19 stale stringer outputs with the go.mod-pinned x/tools version. Runtime String output is unchanged, and a repeated generation pass now leaves the tree byte-identical. Co-authored-by: ChatGPT <noreply@openai.com> Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -25,8 +25,9 @@ const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionT
|
||||
var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
|
||||
|
||||
func (i Action) String() string {
|
||||
if i < 0 || i >= Action(len(_Action_index)-1) {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_Action_index)-1 {
|
||||
return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _Action_name[_Action_index[i]:_Action_index[i+1]]
|
||||
return _Action_name[_Action_index[idx]:_Action_index[idx+1]]
|
||||
}
|
||||
|
||||
@@ -24,8 +24,9 @@ const _debugMsg_name = "debugShutdowndebugKillInbounddebugKillOutbounddebugWaitF
|
||||
var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151, 176}
|
||||
|
||||
func (i debugMsg) String() string {
|
||||
if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_debugMsg_index)-1 {
|
||||
return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _debugMsg_name[_debugMsg_index[i]:_debugMsg_index[i+1]]
|
||||
return _debugMsg_name[_debugMsg_index[idx]:_debugMsg_index[idx+1]]
|
||||
}
|
||||
|
||||
@@ -96,8 +96,9 @@ const _HandlerID_name = "handlerInvalidLockLockLockRLockLockUnlockLockRUnlockLoc
|
||||
var _HandlerID_index = [...]uint16{0, 14, 22, 31, 41, 52, 63, 78, 85, 92, 100, 109, 115, 126, 136, 149, 163, 176, 186, 196, 206, 213, 225, 230, 236, 256, 274, 301, 315, 328, 345, 369, 381, 391, 408, 428, 446, 456, 464, 473, 483, 493, 503, 515, 525, 543, 553, 564, 573, 586, 596, 603, 613, 625, 639, 651, 668, 682, 694, 708, 727, 749, 769, 780, 790, 797, 805, 825, 844, 857, 869, 877, 888, 904, 915, 926, 936, 949, 960, 971, 983, 994}
|
||||
|
||||
func (i HandlerID) String() string {
|
||||
if i >= HandlerID(len(_HandlerID_index)-1) {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_HandlerID_index)-1 {
|
||||
return "HandlerID(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _HandlerID_name[_HandlerID_index[i]:_HandlerID_index[i+1]]
|
||||
return _HandlerID_name[_HandlerID_index[idx]:_HandlerID_index[idx+1]]
|
||||
}
|
||||
|
||||
@@ -32,9 +32,9 @@ const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconn
|
||||
var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179}
|
||||
|
||||
func (i Op) String() string {
|
||||
i -= 1
|
||||
if i >= Op(len(_Op_index)-1) {
|
||||
return "Op(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
||||
idx := int(i) - 1
|
||||
if i < 1 || idx >= len(_Op_index)-1 {
|
||||
return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _Op_name[_Op_index[i]:_Op_index[i+1]]
|
||||
return _Op_name[_Op_index[idx]:_Op_index[idx+1]]
|
||||
}
|
||||
|
||||
@@ -18,9 +18,9 @@ const _TargetType_name = "ConsoleHTTPKafka"
|
||||
var _TargetType_index = [...]uint8{0, 7, 11, 16}
|
||||
|
||||
func (i TargetType) String() string {
|
||||
i -= 1
|
||||
if i >= TargetType(len(_TargetType_index)-1) {
|
||||
return "TargetType(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
||||
idx := int(i) - 1
|
||||
if i < 1 || idx >= len(_TargetType_index)-1 {
|
||||
return "TargetType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _TargetType_name[_TargetType_index[i]:_TargetType_index[i+1]]
|
||||
return _TargetType_name[_TargetType_index[idx]:_TargetType_index[idx+1]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user