func NewEmptyTree() *Tree {
	t := &Tree{config: &config.Config{}}
	if err := t.Load(nil, GetModeGet); err != nil {
		panic(err)
	}
	return t
}
NewEmptyTree returns a new tree that is empty (contains no configuration).
package module
import (
	"bufio"
	"bytes"
	"fmt"
	"path/filepath"
	"strings"
	"sync"
	"github.com/hashicorp/go-getter"
	"github.com/hashicorp/terraform/config"
)
const RootName = "root"
type Tree struct {
	name     string
	config   *config.Config
	children map[string]*Tree
	path     []string
	lock     sync.RWMutex
}
func NewTree(name string, c *config.Config) *Tree {
	return &Tree{config: c, name: name}
}