pull log output: optimize to be readable by humans

This commit is contained in:
Christian Schwarz
2017-08-06 18:28:05 +02:00
parent cba083cadf
commit 4e45b4090b
5 changed files with 110 additions and 62 deletions

16
zfs/conflict_string.go Normal file
View 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]]
}