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

Function isMerge

decode.go:998–1000  ·  view source on GitHub ↗
(n *Node)

Source from the content-addressed store, hash-verified

996}
997
998func isMerge(n *Node) bool {
999 return n.Kind == ScalarNode && n.Value == "<<" && (n.Tag == "" || n.Tag == "!" || shortTag(n.Tag) == mergeTag)
1000}

Callers 2

mappingMethod · 0.85
mappingStructMethod · 0.85

Calls 1

shortTagFunction · 0.85

Tested by

no test coverage detected