source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder" />
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
10import { Logger } from '../../../src/ngtsc/logging';
11import { EntryPointWithDependencies } from '../dependencies/dependency_host';
12import { DependencyResolver, SortedEntryPointsInfo } from '../dependencies/dependency_resolver';
13import { EntryPointManifest } from '../packages/entry_point_manifest';
14import { PathMappings } from '../path_mappings';
15import { EntryPointCollector } from './entry_point_collector';
16import { EntryPointFinder } from './interface';
17/**
18 * An EntryPointFinder that searches for all entry-points that can be found given a `basePath` and
19 * `pathMappings`.
20 */
21export declare class DirectoryWalkerEntryPointFinder implements EntryPointFinder {
22 private logger;
23 private resolver;
24 private entryPointCollector;
25 private entryPointManifest;
26 private sourceDirectory;
27 private pathMappings;
28 private basePaths;
29 constructor(logger: Logger, resolver: DependencyResolver, entryPointCollector: EntryPointCollector, entryPointManifest: EntryPointManifest, sourceDirectory: AbsoluteFsPath, pathMappings: PathMappings | undefined);
30 /**
31 * Search the `sourceDirectory`, and sub-directories, using `pathMappings` as necessary, to find
32 * all package entry-points.
33 */
34 findEntryPoints(): SortedEntryPointsInfo;
35 /**
36 * Search the `basePath` for possible Angular packages and entry-points.
37 *
38 * @param basePath The path at which to start the search.
39 * @returns an array of `EntryPoint`s that were found within `basePath`.
40 */
41 walkBasePathForPackages(basePath: AbsoluteFsPath): EntryPointWithDependencies[];
42}
Note: See TracBrowser for help on using the repository browser.