Constructor
new PackageReference(source, name, location, type)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
source |
String | the path to the directory that defines this reference. |
name |
String | the package name being required |
location |
String | the reference text |
type |
DependencyType | the type of dependency |
Methods
create() → {Promise}
- Source:
Create a symbolic link for this reference.
Returns:
resolves when the symbolic link has been created.
- Type
- Promise
remove() → {Promise}
- Source:
Remove the symbolic link created for this reference.
Returns:
resolves when the symbolic links has been removed.
- Type
- Promise