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

Method String

const_strings.gen.go:3920–3926  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3918var _StorageXMLFlags_index = [...]uint8{0, 18}
3919
3920func (i StorageXMLFlags) String() string {
3921 i -= 1
3922 if i < 0 || i >= StorageXMLFlags(len(_StorageXMLFlags_index)-1) {
3923 return "StorageXMLFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3924 }
3925 return _StorageXMLFlags_name[_StorageXMLFlags_index[i]:_StorageXMLFlags_index[i+1]]
3926}
3927func _() {
3928 // An "invalid array index" compiler error signifies that the constant values have changed.
3929 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StorageXMLFlagsTypeAlias · 0.85

Tested by

no test coverage detected