Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SolarLune/masterplan
/ CanGoBack
Method
CanGoBack
menu.go:574–576 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
572
}
573
574
func
(menu *Menu) CanGoBack() bool {
575
return
len(menu.PageThread) > 1
576
}
577
func
(menu *Menu) SetPrevPage() {
578
if
len(menu.PageThread) > 1 {
579
menu.SetPage(menu.PageThread[len(menu.PageThread)-2])
Callers
2
Update
Method · 0.95
Draw
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected