mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
1814ae52f4
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>
35 lines
1.1 KiB
Go
35 lines
1.1 KiB
Go
// Code generated by "stringer -type lcEventSrc -trimprefix lcEventSrc_ bucket-lifecycle-audit.go"; DO NOT EDIT.
|
|
|
|
package cmd
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[lcEventSrc_None-0]
|
|
_ = x[lcEventSrc_Heal-1]
|
|
_ = x[lcEventSrc_Scanner-2]
|
|
_ = x[lcEventSrc_Decom-3]
|
|
_ = x[lcEventSrc_Rebal-4]
|
|
_ = x[lcEventSrc_s3HeadObject-5]
|
|
_ = x[lcEventSrc_s3GetObject-6]
|
|
_ = x[lcEventSrc_s3ListObjects-7]
|
|
_ = x[lcEventSrc_s3PutObject-8]
|
|
_ = x[lcEventSrc_s3CopyObject-9]
|
|
_ = x[lcEventSrc_s3CompleteMultipartUpload-10]
|
|
}
|
|
|
|
const _lcEventSrc_name = "NoneHealScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload"
|
|
|
|
var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109}
|
|
|
|
func (i lcEventSrc) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_lcEventSrc_index)-1 {
|
|
return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _lcEventSrc_name[_lcEventSrc_index[idx]:_lcEventSrc_index[idx+1]]
|
|
}
|