depot/packages/networking/ipfs-cluster/pintracker/optracker/phase_string.go

17 lines
413 B
Go
Raw Permalink Normal View History

2022-10-19 23:23:11 +03:00
// Code generated by "stringer -type=Phase"; DO NOT EDIT.
package optracker
import "strconv"
const _Phase_name = "PhaseErrorPhaseQueuedPhaseInProgressPhaseDone"
var _Phase_index = [...]uint8{0, 10, 21, 36, 45}
func (i Phase) String() string {
if i < 0 || i >= Phase(len(_Phase_index)-1) {
return "Phase(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Phase_name[_Phase_index[i]:_Phase_index[i+1]]
}