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

Method String

const_strings.gen.go:4060–4066  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4058var _StorageVolUploadFlags_index = [...]uint8{0, 28}
4059
4060func (i StorageVolUploadFlags) String() string {
4061 i -= 1
4062 if i < 0 || i >= StorageVolUploadFlags(len(_StorageVolUploadFlags_index)-1) {
4063 return "StorageVolUploadFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
4064 }
4065 return _StorageVolUploadFlags_name[_StorageVolUploadFlags_index[i]:_StorageVolUploadFlags_index[i+1]]
4066}
4067func _() {
4068 // An "invalid array index" compiler error signifies that the constant values have changed.
4069 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StorageVolUploadFlagsTypeAlias · 0.85

Tested by

no test coverage detected