Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openfga/openfga
/ Pop
Function
Pop
internal/stack/stack.go:23–25 ·
view source on GitHub ↗
(stack Stack[T])
Source
from the content-addressed store, hash-verified
21
}
22
23
func
Pop[T any](stack Stack[T]) (T, Stack[T]) {
24
return
stack.value, Stack[T](stack.next)
25
}
26
27
func
Peek[T any](stack Stack[T]) T {
28
return
stack.value
Callers
5
loopOverEdges
Method · 0.92
executeQueryJob
Method · 0.92
findCandidatesForLowestWeightEdge
Method · 0.92
TestStack
Function · 0.85
String
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestStack
Function · 0.68