()
| 196 | } |
| 197 | |
| 198 | func 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. |
| 206 | func writeGlobalConfigNode(path string, doc *yaml.Node) error { |
no outgoing calls
no test coverage detected