MCPcopy Create free account
hub / github.com/driangle/taskmd / emptyDocNode

Function emptyDocNode

apps/cli/internal/cli/project_registry.go:198–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196}
197
198func emptyDocNode() *yaml.Node {
199 return &yaml.Node{
200 Kind: yaml.DocumentNode,
201 Content: []*yaml.Node{{Kind: yaml.MappingNode}},
202 }
203}
204
205// writeGlobalConfigNode writes the YAML document to the given path.
206func writeGlobalConfigNode(path string, doc *yaml.Node) error {

Callers 1

readGlobalConfigNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected