UnwrapDoc now private

This commit is contained in:
Mike Farah
2021-02-11 10:58:40 +11:00
parent ba223df4ac
commit b749973fe0
17 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
type operatorHandler func(d *dataTreeNavigator, matchingNodes *list.List, pathNode *PathTreeNode) (*list.List, error)
func UnwrapDoc(node *yaml.Node) *yaml.Node {
func unwrapDoc(node *yaml.Node) *yaml.Node {
if node.Kind == yaml.DocumentNode {
return node.Content[0]
}