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

Method String

const_strings.gen.go:3534–3539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3532var _NodeDeviceUpdateFlags_index = [...]uint8{0, 29, 55, 83}
3533
3534func (i NodeDeviceUpdateFlags) String() string {
3535 if i < 0 || i >= NodeDeviceUpdateFlags(len(_NodeDeviceUpdateFlags_index)-1) {
3536 return "NodeDeviceUpdateFlags(" + strconv.FormatInt(int64(i), 10) + ")"
3537 }
3538 return _NodeDeviceUpdateFlags_name[_NodeDeviceUpdateFlags_index[i]:_NodeDeviceUpdateFlags_index[i+1]]
3539}
3540func _() {
3541 // An "invalid array index" compiler error signifies that the constant values have changed.
3542 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeDeviceUpdateFlagsTypeAlias · 0.85

Tested by

no test coverage detected