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

Method String

const_strings.gen.go:4020–4030  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4018)
4019
4020func (i StorageVolCreateFlags) String() string {
4021 switch {
4022 case 1 <= i && i <= 2:
4023 i -= 1
4024 return _StorageVolCreateFlags_name_0[_StorageVolCreateFlags_index_0[i]:_StorageVolCreateFlags_index_0[i+1]]
4025 case i == 4:
4026 return _StorageVolCreateFlags_name_1
4027 default:
4028 return "StorageVolCreateFlags(" + strconv.FormatInt(int64(i), 10) + ")"
4029 }
4030}
4031func _() {
4032 // An "invalid array index" compiler error signifies that the constant values have changed.
4033 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected