NpmContentResolver.

GetFiles(PackageReference, PackageType, ModulesInstallationLocation) Method

Summary

Returns the files installed by the given package.
Assembly
Cake.Npm.Module.dll
Namespace
Cake.Npm.Module
Containing Type
NpmContentResolver

Syntax

public IReadOnlyCollection<IFile> GetFiles(PackageReference package, PackageType type, ModulesInstallationLocation installationLocation)

Parameters

Name Type Description
package PackageReference The package.
type PackageType The package type.
installationLocation ModulesInstallationLocation The location in which to install.

Return Value

Type Description
IReadOnlyCollection<IFile> The files installed by the given package.