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

Method String

const_strings.gen.go:1160–1166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1158var _DomainBlockResizeFlags_index = [...]uint8{0, 22, 47}
1159
1160func (i DomainBlockResizeFlags) String() string {
1161 i -= 1
1162 if i < 0 || i >= DomainBlockResizeFlags(len(_DomainBlockResizeFlags_index)-1) {
1163 return "DomainBlockResizeFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
1164 }
1165 return _DomainBlockResizeFlags_name[_DomainBlockResizeFlags_index[i]:_DomainBlockResizeFlags_index[i+1]]
1166}
1167func _() {
1168 // An "invalid array index" compiler error signifies that the constant values have changed.
1169 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainBlockResizeFlagsTypeAlias · 0.85

Tested by

no test coverage detected