// NewVTree initialize a new virtual tree (VTree) given an absolute path.
NewVTree initialize a new virtual tree (VTree) given an absolute path.
// NewVTree initialize a new virtual tree ( VTree ) given an absolute path .
func NewVTree(path string) *VTree {
	return &VTree{
		Head: &VNode{
			ID:     utils.ToByte(ROOTKEY),
			Path:   path,
			Type:   DirCode,
			Links:  []*VNode{},
			Source: &db.Source{},
		},
		state: make(chan State),
	}
}
func NewVTree ( path string ) * VTree { return & VTree { Head : & VNode { ID : utils . ToByte ( ROOTKEY ) , Path : path , Type : DirCode , Links : [ ] * VNode { } , Source : & db . Source { } , } , state : make ( chan State ) , } }
NewVTree initialize a new virtual tree (VTree) given an absolute path.
NewVTree initialize a new virtual tree ( VTree ) given an absolute path .