pkg/fileutil/dir_windows.go
func OpenDir(path string) (*os.File, error) {
	fd, err := openDir(path)
	if err != nil {
		return nil, err
	}
	return os.NewFile(uintptr(fd), path), nil
}
func OpenDir(path string) (*os.File, error) {
	fd, err := openDir(path)
	if err != nil {
		return nil, err
	}
	return os.NewFile(uintptr(fd), path), nil
}
func OpenDir ( path string ) ( * os . File , error ) { fd , err := openDir ( path ) if err != nil { return nil , err } return os . NewFile ( uintptr ( fd ) , path ) , nil }
// OpenDir opens a directory in windows with write access for syncing.
OpenDir opens a directory in windows with write access for syncing .