Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.PackageSupport.Junction.CreateAsync Method

Creates a junction point from the specified directory to the specified target directory.

Class: YetaWF.Core.PackageSupport.Junction
Namespace: YetaWF.Core.PackageSupport
Assembly: YetaWF.Core

Syntax

public static Task CreateAsync(
    string junctionPoint,
    string targetDir,
    bool overwrite );

Parameters

junctionPoint

The junction point path

targetDir

The target directory

overwrite

If true overwrites an existing reparse point or empty directory

Remarks

Only works on NTFS.

See Also YetaWF.Core.PackageSupport.Junction ClassYetaWF.Core Overview