func NewDir(path string) (d *Dir, err error) {
	dir, err := file.NewDir(path)
	if err != nil {
		return
	}
	d = &Dir{
		Dir: dir,
	}
	return
}
// NewDir creates a new directory for the specified path
NewDir creates a new directory for the specified path
// NewDir creates a new directory for the specified path
func NewDir(path string) (d *Dir, err error) {
	dir, err := file.NewDir(path)
	if err != nil {
		return
	}
	d = &Dir{
		Dir: dir,
	}
	return
}
func NewDir ( path string ) ( d * Dir , err error ) { dir , err := file . NewDir ( path ) if err != nil { return } d = & Dir { Dir : dir , } return }
NewDir creates a new directory for the specified path
NewDir creates a new directory for the specified path