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

Method String

const_strings.gen.go:3814–3823  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3812)
3813
3814func (i StoragePoolCreateFlags) String() string {
3815 switch {
3816 case 0 <= i && i <= 2:
3817 return _StoragePoolCreateFlags_name_0[_StoragePoolCreateFlags_index_0[i]:_StoragePoolCreateFlags_index_0[i+1]]
3818 case i == 4:
3819 return _StoragePoolCreateFlags_name_1
3820 default:
3821 return "StoragePoolCreateFlags(" + strconv.FormatInt(int64(i), 10) + ")"
3822 }
3823}
3824func _() {
3825 // An "invalid array index" compiler error signifies that the constant values have changed.
3826 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected