Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / github.com / sergi / go-diff@v1.1.0 / diffmatchpatch / operation_string.go
1 // Code generated by "stringer -type=Operation -trimprefix=Diff"; DO NOT EDIT.
2
3 package diffmatchpatch
4
5 import "fmt"
6
7 const _Operation_name = "DeleteEqualInsert"
8
9 var _Operation_index = [...]uint8{0, 6, 11, 17}
10
11 func (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 }