Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
986 bytes
|
Line | |
---|
1 | import { LicenseTextOverrides } from './LicenseTextOverrides';
|
---|
2 | import { FileSystem } from './FileSystem';
|
---|
3 | import { Module } from './Module';
|
---|
4 | import { LicenseFileOverrides } from './LicenseFilesOverrides';
|
---|
5 | import { WebpackCompilation } from './WebpackCompilation';
|
---|
6 | import { Logger } from './Logger';
|
---|
7 | declare class LicenseTextReader {
|
---|
8 | private logger;
|
---|
9 | private fileSystem;
|
---|
10 | private fileOverrides;
|
---|
11 | private textOverrides;
|
---|
12 | private templateDir;
|
---|
13 | private handleMissingLicenseText;
|
---|
14 | constructor(logger: Logger, fileSystem: FileSystem, fileOverrides: LicenseFileOverrides, textOverrides: LicenseTextOverrides, templateDir: string | undefined, handleMissingLicenseText: (packageName: string, licenseType: string | null) => string | null);
|
---|
15 | readLicense(compilation: WebpackCompilation, module: Module, licenseType: string | null): string | null;
|
---|
16 | readText(directory: string, filename: string): string;
|
---|
17 | private guessLicenseFilename;
|
---|
18 | }
|
---|
19 | export { LicenseTextReader };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.