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

Method String

const_strings.gen.go:4085–4095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4083)
4084
4085func (i StorageVolResizeFlags) String() string {
4086 switch {
4087 case 1 <= i && i <= 2:
4088 i -= 1
4089 return _StorageVolResizeFlags_name_0[_StorageVolResizeFlags_index_0[i]:_StorageVolResizeFlags_index_0[i+1]]
4090 case i == 4:
4091 return _StorageVolResizeFlags_name_1
4092 default:
4093 return "StorageVolResizeFlags(" + strconv.FormatInt(int64(i), 10) + ")"
4094 }
4095}
4096func _() {
4097 // An "invalid array index" compiler error signifies that the constant values have changed.
4098 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected