Home > @rushstack/node-core-library > IFileSystemCreateLinkOptions
IFileSystemCreateLinkOptions interface
The options for FileSystem.createSymbolicLinkJunction(), FileSystem.createSymbolicLinkFile(), FileSystem.createSymbolicLinkFolder(), and FileSystem.createHardLink().
Signature:
export interface IFileSystemCreateLinkOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
alreadyExistsBehavior? | AlreadyExistsBehavior | (Optional) Specifies what to do if the path to create already exists. The default is AlreadyExistsBehavior.Error . | |
linkTargetPath | string | The newly created symbolic link will point to linkTargetPath as its target. | |
newLinkPath | string | The newly created symbolic link will have this path. |