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

Method String

const_strings.gen.go:4108–4113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4106var _StoragePoolEventID_index = [...]uint8{0, 27, 52}
4107
4108func (i StoragePoolEventID) String() string {
4109 if i < 0 || i >= StoragePoolEventID(len(_StoragePoolEventID_index)-1) {
4110 return "StoragePoolEventID(" + strconv.FormatInt(int64(i), 10) + ")"
4111 }
4112 return _StoragePoolEventID_name[_StoragePoolEventID_index[i]:_StoragePoolEventID_index[i+1]]
4113}
4114func _() {
4115 // An "invalid array index" compiler error signifies that the constant values have changed.
4116 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StoragePoolEventIDTypeAlias · 0.85

Tested by

no test coverage detected