MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Push

Method Push

utils/stack.go:67–69  ·  view source on GitHub ↗

Push adds the given value to the stack.

(value T)

Source from the content-addressed store, hash-verified

65
66// Push adds the given value to the stack.
67func (s *Stack[T]) Push(value T) {
68 s.values = append(s.values, value)
69}
70
71// Empty returns whether the stack is empty.
72func (s *Stack[T]) Empty() bool {

Callers 9

PushAuthTypeMethod · 0.80
reconcileLabelsFunction · 0.80
NewInterpreterStackFunction · 0.80
PushScopeMethod · 0.80
OrMethod · 0.80
NewScopeMethod · 0.80
NewOptionalScopeMethod · 0.80
NewParenScopeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected