Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rgburke/grv
/ HandleAction
Method
HandleAction
cmd/grv/view.go:68–68 ·
view source on GitHub ↗
(Action)
Source
from the content-addressed store, hash-verified
66
Initialise() error
67
Dispose()
68
HandleAction(Action) error
69
OnStateChange(ViewState)
70
ViewID() ViewID
71
}
Callers
15
HandleAction
Method · 0.65
selectDiffLine
Function · 0.65
TestHandleActionReturnsHandledTrueWhenActionIsHandled
Function · 0.65
TestHandleActionReturnsHandledFalseWhenActionIsHandled
Function · 0.65
TestErrorByActionHandlerIsReturned
Function · 0.65
TestViewPosIsLoggedBeforeAndAfterActionIsHandled
Function · 0.65
TestActionPrevLineIsHandledAndNoUpdatesResultWhenMoveLineUpReturnsFalse
Function · 0.65
TestActionPrevLineIsHandledAndUpdatesResultWhenMoveLineUpReturnsTrue
Function · 0.65
TestActionNextLineIsHandledAndNoUpdatesResultWhenMoveLineDownReturnsFalse
Function · 0.65
TestActionNextLineIsHandledAndUpdatesResultWhenMoveLineDownReturnsTrue
Function · 0.65
TestActionPrevPageIsHandledAndNoUpdatesResultWhenMovePageUpReturnsFalse
Function · 0.65
TestActionPrevPageIsHandledAndUpdatesResultWhenMovePageUpReturnsTrue
Function · 0.65
Implementers
8
DiffView
cmd/grv/diff_view.go
WindowViewContainer
cmd/grv/window_view_container.go
GRVStatusView
cmd/grv/grv_status_view.go
ContainerView
cmd/grv/container_view.go
HelpBarView
cmd/grv/help_bar_view.go
GitStatusView
cmd/grv/git_status_view.go
StatusBarView
cmd/grv/status_bar_view.go
View
cmd/grv/view.go
Calls
no outgoing calls
Tested by
15
TestHandleActionReturnsHandledTrueWhenActionIsHandled
Function · 0.52
TestHandleActionReturnsHandledFalseWhenActionIsHandled
Function · 0.52
TestErrorByActionHandlerIsReturned
Function · 0.52
TestViewPosIsLoggedBeforeAndAfterActionIsHandled
Function · 0.52
TestActionPrevLineIsHandledAndNoUpdatesResultWhenMoveLineUpReturnsFalse
Function · 0.52
TestActionPrevLineIsHandledAndUpdatesResultWhenMoveLineUpReturnsTrue
Function · 0.52
TestActionNextLineIsHandledAndNoUpdatesResultWhenMoveLineDownReturnsFalse
Function · 0.52
TestActionNextLineIsHandledAndUpdatesResultWhenMoveLineDownReturnsTrue
Function · 0.52
TestActionPrevPageIsHandledAndNoUpdatesResultWhenMovePageUpReturnsFalse
Function · 0.52
TestActionPrevPageIsHandledAndUpdatesResultWhenMovePageUpReturnsTrue
Function · 0.52
TestActionNextPageIsHandledAndNoUpdatesResultWhenMovePageDownReturnsFalse
Function · 0.52
TestActionNextPageIsHandledAndUpdatesResultWhenMovePageDownReturnsTrue
Function · 0.52