Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
func
(a *App) guestSelectionCount() int {
46
if
a == nil {
47
return
0
48
}
49
50
return
len(a.guestSelections)
51
}
52
53
func
(a *App) isGuestSelected(vm *api.VM) bool {
54
if
a == nil || vm == nil {
Callers
6
updateGuestSelectionIndicators
Method · 0.95
setupKeyboardHandlers
Method · 0.95
TestToggleGuestSelection
Function · 0.95
TestReconcileGuestSelection
Function · 0.95
ShowVMContextMenu
Method · 0.95
SetVMs
Method · 0.80
Calls
no outgoing calls
Tested by
2
TestToggleGuestSelection
Function · 0.76
TestReconcileGuestSelection
Function · 0.76