func (t *Tree) Sub(name string) (sub *Tree, err error) {
	d, ok := t.Root.Dirs[name]
	if !ok {
		err = ErrMissingDir
		return
	}
	sub = &Tree{
		Root: d,
	}
	return
}
// Sub provides a subtree of an immediate directory
Sub provides a subtree of an immediate directory
// Sub provides a subtree of an immediate directory
func (t *Tree) Sub(name string) (sub *Tree, err error) {
	d, ok := t.Root.Dirs[name]
	if !ok {
		err = ErrMissingDir
		return
	}
	sub = &Tree{
		Root: d,
	}
	return
}
func ( t * Tree ) Sub ( name string ) ( sub * Tree , err error ) { d , ok := t . Root . Dirs [ name ] if ! ok { err = ErrMissingDir return } sub = & Tree { Root : d , } return }
Sub provides a subtree of an immediate directory
Sub provides a subtree of an immediate directory