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

Function NewMappingNode

internal/yaml/node.go:13–17  ·  view source on GitHub ↗

NewMappingNode returns a new node pointing to a yaml map.

()

Source from the content-addressed store, hash-verified

11
12// NewMappingNode returns a new node pointing to a yaml map.
13func NewMappingNode() *Node {
14 return &Node{
15 &yaml.Node{Kind: yaml.MappingNode},
16 }
17}
18
19// NewSequenceNode returns a new node pointing to a yaml list.
20func NewSequenceNode() *Node {

Callers 6

ensureSampleInvitesFunction · 0.92
ensureSampleUsersFunction · 0.92
ensureSampleGroupsFunction · 0.92
ensureSampleOrgsFunction · 0.92
ensureSampleOptionsFunction · 0.92
ensureAdminUserYamlFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected