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

Method manualRefresh

internal/ui/components/refresh.go:44–50  ·  view source on GitHub ↗

manualRefresh refreshes all data manually. Acquires the refresh guard and delegates to doManualRefresh.

()

Source from the content-addressed store, hash-verified

42// manualRefresh refreshes all data manually.
43// Acquires the refresh guard and delegates to doManualRefresh.
44func (a *App) manualRefresh() {
45 token, ok := a.startRefresh()
46 if !ok {
47 return
48 }
49 a.doManualRefresh(token)
50}
51
52// doManualRefresh is the internal implementation of a full refresh.
53// Caller must have already acquired the refresh guard (token != 0).

Callers 11

setupKeyboardHandlersMethod · 0.95
doRefreshVMDataMethod · 0.95
pollForConfigChangeMethod · 0.95
ManualRefreshMethod · 0.95
ShowGlobalContextMenuMethod · 0.95

Calls 2

startRefreshMethod · 0.95
doManualRefreshMethod · 0.95

Tested by

no test coverage detected