MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / guestSelectionCount

Method guestSelectionCount

internal/ui/components/vm_selection.go:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (a *App) guestSelectionCount() int {
46 if a == nil {
47 return 0
48 }
49
50 return len(a.guestSelections)
51}
52
53func (a *App) isGuestSelected(vm *api.VM) bool {
54 if a == nil || vm == nil {

Callers 6

setupKeyboardHandlersMethod · 0.95
TestToggleGuestSelectionFunction · 0.95
ShowVMContextMenuMethod · 0.95
SetVMsMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestToggleGuestSelectionFunction · 0.76