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

Method String

const_strings.gen.go:3496–3502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3494var _NodeDeviceCreateXMLFlags_index = [...]uint8{0, 27}
3495
3496func (i NodeDeviceCreateXMLFlags) String() string {
3497 i -= 1
3498 if i < 0 || i >= NodeDeviceCreateXMLFlags(len(_NodeDeviceCreateXMLFlags_index)-1) {
3499 return "NodeDeviceCreateXMLFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3500 }
3501 return _NodeDeviceCreateXMLFlags_name[_NodeDeviceCreateXMLFlags_index[i]:_NodeDeviceCreateXMLFlags_index[i+1]]
3502}
3503func _() {
3504 // An "invalid array index" compiler error signifies that the constant values have changed.
3505 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeDeviceCreateXMLFlagsTypeAlias · 0.85

Tested by

no test coverage detected