You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
756 B
18 lines
756 B
import { FileHandler } from './FileHandler';
|
|
import { FileSystem } from './FileSystem';
|
|
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
|
|
declare class PluginFileHandler implements FileHandler {
|
|
private fileSystem;
|
|
private buildRoot;
|
|
private modulesDirectories;
|
|
private excludedPackageTest;
|
|
private cache;
|
|
constructor(fileSystem: FileSystem, buildRoot: string, modulesDirectories: string[] | null, excludedPackageTest: (packageName: string) => boolean);
|
|
static PACKAGE_JSON: string;
|
|
getModule(filename: string): LicenseIdentifiedModule | null;
|
|
private getModuleInternal;
|
|
private findModuleDir;
|
|
private parsePackageJson;
|
|
private dirContainsValidPackageJson;
|
|
}
|
|
export { PluginFileHandler };
|