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

Method String

const_strings.gen.go:1684–1696  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1682)
1683
1684func (i DomainBlockCopyFlags) String() string {
1685 switch {
1686 case 1 <= i && i <= 2:
1687 i -= 1
1688 return _DomainBlockCopyFlags_name_0[_DomainBlockCopyFlags_index_0[i]:_DomainBlockCopyFlags_index_0[i+1]]
1689 case i == 4:
1690 return _DomainBlockCopyFlags_name_1
1691 case i == 8:
1692 return _DomainBlockCopyFlags_name_2
1693 default:
1694 return "DomainBlockCopyFlags(" + strconv.FormatInt(int64(i), 10) + ")"
1695 }
1696}
1697func _() {
1698 // An "invalid array index" compiler error signifies that the constant values have changed.
1699 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected