mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
28 lines
843 B
Go
28 lines
843 B
Go
|
// Code generated by "stringer -type VersionType -output=xl-storage-format-v2_string.go xl-storage-format-v2.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[invalidVersionType-0]
|
||
|
_ = x[ObjectType-1]
|
||
|
_ = x[DeleteType-2]
|
||
|
_ = x[LegacyType-3]
|
||
|
_ = x[lastVersionType-4]
|
||
|
}
|
||
|
|
||
|
const _VersionType_name = "invalidVersionTypeObjectTypeDeleteTypeLegacyTypelastVersionType"
|
||
|
|
||
|
var _VersionType_index = [...]uint8{0, 18, 28, 38, 48, 63}
|
||
|
|
||
|
func (i VersionType) String() string {
|
||
|
if i >= VersionType(len(_VersionType_index)-1) {
|
||
|
return "VersionType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
return _VersionType_name[_VersionType_index[i]:_VersionType_index[i+1]]
|
||
|
}
|