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

Method String

const_strings.gen.go:3995–4001  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3993var _StoragePoolDefineFlags_index = [...]uint8{0, 25}
3994
3995func (i StoragePoolDefineFlags) String() string {
3996 i -= 1
3997 if i < 0 || i >= StoragePoolDefineFlags(len(_StoragePoolDefineFlags_index)-1) {
3998 return "StoragePoolDefineFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3999 }
4000 return _StoragePoolDefineFlags_name[_StoragePoolDefineFlags_index[i]:_StoragePoolDefineFlags_index[i+1]]
4001}
4002func _() {
4003 // An "invalid array index" compiler error signifies that the constant values have changed.
4004 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StoragePoolDefineFlagsTypeAlias · 0.85

Tested by

no test coverage detected