Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ push
Method
push
json/token.go:378–380 ·
view source on GitHub ↗
(typ scope)
Source
from the content-addressed store, hash-verified
376
}
377
378
func
(s *stack) push(typ scope) {
379
s.state = append(s.state, state{typ: typ, len: 1})
380
}
381
382
func
(s *stack) pop(expect scope) bool {
383
i := len(s.state) - 1
Callers
1
push
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected