1 | import { FileHandler } from './FileHandler';
|
2 | import { FileSystem } from './FileSystem';
|
3 | import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
|
4 | declare class PluginFileHandler implements FileHandler {
|
5 | private fileSystem;
|
6 | private buildRoot;
|
7 | private modulesDirectories;
|
8 | private excludedPackageTest;
|
9 | private cache;
|
10 | constructor(fileSystem: FileSystem, buildRoot: string, modulesDirectories: string[] | null, excludedPackageTest: (packageName: string) => boolean);
|
11 | static PACKAGE_JSON: string;
|
12 | getModule(filename: string): LicenseIdentifiedModule | null;
|
13 | private getModuleInternal;
|
14 | private findModuleDir;
|
15 | private parsePackageJson;
|
16 | private dirContainsValidPackageJson;
|
17 | }
|
18 | export { PluginFileHandler };
|