summaryrefslogtreecommitdiff
path: root/internal/command/commandtype_string.go
blob: ef5080a0ea35a99c891f0b597bc4f30ffe4b3af9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by "stringer -type=CommandType"; DO NOT EDIT.

package command

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[Create-0]
	_ = x[Merge-1]
	_ = x[Remove-2]
}

const _CommandType_name = "CreateMergeRemove"

var _CommandType_index = [...]uint8{0, 6, 11, 17}

func (i CommandType) String() string {
	if i < 0 || i >= CommandType(len(_CommandType_index)-1) {
		return "CommandType(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _CommandType_name[_CommandType_index[i]:_CommandType_index[i+1]]
}