mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-17 10:21:00 +02:00
pull log output: optimize to be readable by humans
This commit is contained in:
16
zfs/conflict_string.go
Normal file
16
zfs/conflict_string.go
Normal file
@ -0,0 +1,16 @@
|
||||
// Code generated by "stringer -type=Conflict"; DO NOT EDIT.
|
||||
|
||||
package zfs
|
||||
|
||||
import "fmt"
|
||||
|
||||
const _Conflict_name = "ConflictIncrementalConflictAllRightConflictNoCommonAncestorConflictDiverged"
|
||||
|
||||
var _Conflict_index = [...]uint8{0, 19, 35, 59, 75}
|
||||
|
||||
func (i Conflict) String() string {
|
||||
if i < 0 || i >= Conflict(len(_Conflict_index)-1) {
|
||||
return fmt.Sprintf("Conflict(%d)", i)
|
||||
}
|
||||
return _Conflict_name[_Conflict_index[i]:_Conflict_index[i+1]]
|
||||
}
|
Reference in New Issue
Block a user