main
Raw Download raw file
 1// Code generated by "stringer -type=Operation -trimprefix=Diff"; DO NOT EDIT.
 2
 3package diffmatchpatch
 4
 5import "fmt"
 6
 7const _Operation_name = "DeleteEqualInsert"
 8
 9var _Operation_index = [...]uint8{0, 6, 11, 17}
10
11func (i Operation) String() string {
12	i -= -1
13	if i < 0 || i >= Operation(len(_Operation_index)-1) {
14		return fmt.Sprintf("Operation(%d)", i+-1)
15	}
16	return _Operation_name[_Operation_index[i]:_Operation_index[i+1]]
17}