Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SolarLune/masterplan
/ Bottom
Method
Bottom
stack.go:259–264 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
257
}
258
259
func
(stack *Stack) Bottom() *Card {
260
if
len(stack.Tail()) == 0 {
261
return
stack.Card
262
}
263
return
stack.Tail()[len(stack.Tail())-1]
264
}
265
266
func
(stack *Stack) Index() int {
267
return
len(stack.Head()) + 1
Callers
2
Update
Method · 0.80
PostDraw
Method · 0.80
Calls
1
Tail
Method · 0.95
Tested by
no test coverage detected