func (d *Dir) updateDir(dir, name string) (err error) {
	next, ok := d.Dirs[name]
	if ok {
		err = next.Read()
	} else {
		next, err = NewDir(filepath.Join(dir, name))
		d.Dirs[name] = next
	}
	return
}
// updateDir creates a missing directory or updates an existing one
updateDir creates a missing directory or updates an existing one
// updateDir creates a missing directory or updates an existing one
func (d *Dir) updateDir(dir, name string) (err error) {
	next, ok := d.Dirs[name]
	if ok {
		err = next.Read()
	} else {
		next, err = NewDir(filepath.Join(dir, name))
		d.Dirs[name] = next
	}
	return
}
func ( d * Dir ) updateDir ( dir , name string ) ( err error ) { next , ok := d . Dirs [ name ] if ok { err = next . Read ( ) } else { next , err = NewDir ( filepath . Join ( dir , name ) ) d . Dirs [ name ] = next } return }
updateDir creates a missing directory or updates an existing one
updateDir creates a missing directory or updates an existing one