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

Method String

const_strings.gen.go:3765–3776  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3763)
3764
3765func (i StoragePoolBuildFlags) String() string {
3766 switch {
3767 case 0 <= i && i <= 2:
3768 return _StoragePoolBuildFlags_name_0[_StoragePoolBuildFlags_index_0[i]:_StoragePoolBuildFlags_index_0[i+1]]
3769 case i == 4:
3770 return _StoragePoolBuildFlags_name_1
3771 case i == 8:
3772 return _StoragePoolBuildFlags_name_2
3773 default:
3774 return "StoragePoolBuildFlags(" + strconv.FormatInt(int64(i), 10) + ")"
3775 }
3776}
3777func _() {
3778 // An "invalid array index" compiler error signifies that the constant values have changed.
3779 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected