mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +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:
@@ -46,8 +46,9 @@ const _storageMetric_name = "MakeVolBulkMakeVolListVolsStatVolDeleteVolWalkDirLi
|
||||
var _storageMetric_index = [...]uint16{0, 11, 18, 26, 33, 42, 49, 56, 64, 74, 84, 98, 108, 118, 128, 134, 148, 158, 166, 179, 192, 206, 217, 223, 230, 242, 262, 270, 280, 290, 299, 303}
|
||||
|
||||
func (i storageMetric) String() string {
|
||||
if i >= storageMetric(len(_storageMetric_index)-1) {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_storageMetric_index)-1 {
|
||||
return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
|
||||
return _storageMetric_name[_storageMetric_index[idx]:_storageMetric_index[idx+1]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user