MCPcopy Create free account
hub / github.com/digitalocean/go-libvirt / String

Method String

const_strings.gen.go:87–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85)
86
87func (i DomainCheckpointCreateFlags) String() string {
88 switch {
89 case 1 <= i && i <= 2:
90 i -= 1
91 return _DomainCheckpointCreateFlags_name_0[_DomainCheckpointCreateFlags_index_0[i]:_DomainCheckpointCreateFlags_index_0[i+1]]
92 case i == 4:
93 return _DomainCheckpointCreateFlags_name_1
94 default:
95 return "DomainCheckpointCreateFlags(" + strconv.FormatInt(int64(i), 10) + ")"
96 }
97}
98func _() {
99 // An "invalid array index" compiler error signifies that the constant values have changed.
100 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected