Skip to content

Latest commit

 

History

History
102 lines (49 loc) · 1.89 KB

File metadata and controls

102 lines (49 loc) · 1.89 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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.