Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-yaml/yaml
/ init
Method
init
decode.go:62–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
62
func
(p *parser) init() {
63
if
p.doneInit {
64
return
65
}
66
p.anchors = make(
map
[string]*Node)
67
p.expect(yaml_STREAM_START_EVENT)
68
p.doneInit = true
69
}
70
71
func
(p *parser) destroy() {
72
if
p.event.typ != yaml_NO_EVENT {
Callers
1
parse
Method · 0.95
Calls
1
expect
Method · 0.95
Tested by
no test coverage detected