Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SolarLune/masterplan
/ Top
Method
Top
stack.go:252–257 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
250
}
251
252
func
(stack *Stack) Top() *Card {
253
if
len(stack.Head()) == 0 {
254
return
stack.Card
255
}
256
return
stack.Head()[0]
257
}
258
259
func
(stack *Stack) Bottom() *Card {
260
if
len(stack.Tail()) == 0 {
Callers
3
Update
Method · 0.80
Update
Method · 0.80
Update
Method · 0.80
Calls
1
Head
Method · 0.95
Tested by
no test coverage detected