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

Method String

const_strings.gen.go:3903–3908  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3901var _StorageVolInfoFlags_index = [...]uint8{0, 23, 44}
3902
3903func (i StorageVolInfoFlags) String() string {
3904 if i < 0 || i >= StorageVolInfoFlags(len(_StorageVolInfoFlags_index)-1) {
3905 return "StorageVolInfoFlags(" + strconv.FormatInt(int64(i), 10) + ")"
3906 }
3907 return _StorageVolInfoFlags_name[_StorageVolInfoFlags_index[i]:_StorageVolInfoFlags_index[i+1]]
3908}
3909func _() {
3910 // An "invalid array index" compiler error signifies that the constant values have changed.
3911 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StorageVolInfoFlagsTypeAlias · 0.85

Tested by

no test coverage detected