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

Method String

const_strings.gen.go:3478–3484  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3476var _NodeDeviceXMLFlags_index = [...]uint8{0, 21}
3477
3478func (i NodeDeviceXMLFlags) String() string {
3479 i -= 1
3480 if i < 0 || i >= NodeDeviceXMLFlags(len(_NodeDeviceXMLFlags_index)-1) {
3481 return "NodeDeviceXMLFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3482 }
3483 return _NodeDeviceXMLFlags_name[_NodeDeviceXMLFlags_index[i]:_NodeDeviceXMLFlags_index[i+1]]
3484}
3485func _() {
3486 // An "invalid array index" compiler error signifies that the constant values have changed.
3487 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeDeviceXMLFlagsTypeAlias · 0.85

Tested by

no test coverage detected