MCPcopy
hub / github.com/go-yaml/yaml / document

Method document

decode.go:524–531  ·  view source on GitHub ↗
(n *Node, out reflect.Value)

Source from the content-addressed store, hash-verified

522}
523
524func (d *decoder) document(n *Node, out reflect.Value) (good bool) {
525 if len(n.Content) == 1 {
526 d.doc = n
527 d.unmarshal(n.Content[0], out)
528 return true
529 }
530 return false
531}
532
533func (d *decoder) alias(n *Node, out reflect.Value) (good bool) {
534 if d.aliases[n] {

Callers 1

unmarshalMethod · 0.95

Calls 1

unmarshalMethod · 0.95

Tested by

no test coverage detected