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

Method String

const_strings.gen.go:1392–1401  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1390)
1391
1392func (i DomainDeviceModifyFlags) String() string {
1393 switch {
1394 case 0 <= i && i <= 2:
1395 return _DomainDeviceModifyFlags_name_0[_DomainDeviceModifyFlags_index_0[i]:_DomainDeviceModifyFlags_index_0[i+1]]
1396 case i == 4:
1397 return _DomainDeviceModifyFlags_name_1
1398 default:
1399 return "DomainDeviceModifyFlags(" + strconv.FormatInt(int64(i), 10) + ")"
1400 }
1401}
1402func _() {
1403 // An "invalid array index" compiler error signifies that the constant values have changed.
1404 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected