MCPcopy Create free account
hub / github.com/belak/gitdir / NewSequenceNode

Function NewSequenceNode

internal/yaml/node.go:20–24  ·  view source on GitHub ↗

NewSequenceNode returns a new node pointing to a yaml list.

()

Source from the content-addressed store, hash-verified

18
19// NewSequenceNode returns a new node pointing to a yaml list.
20func NewSequenceNode() *Node {
21 return &Node{
22 &yaml.Node{Kind: yaml.SequenceNode},
23 }
24}
25
26// ScalarTag represents the type hints used by yaml. These come from the yaml
27// source.

Callers 1

ensureAdminUserYamlFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected