meta.d.ts 607 B

1234567891011
  1. import { IacOutputMeta } from '../../../../lib/types';
  2. import { IacOrgSettings } from './local-execution/types';
  3. export interface GitRepository {
  4. readonly path: string;
  5. readRemoteUrl(): Promise<string | undefined>;
  6. }
  7. export interface GitRepositoryFinder {
  8. findRepositoryForPath(path: string): Promise<GitRepository | undefined>;
  9. }
  10. export declare function buildMeta(repositoryFinder: GitRepositoryFinder, orgSettings: IacOrgSettings, projectRoot: string, remoteRepoUrl?: string, targetName?: string): Promise<IacOutputMeta>;
  11. export declare function getProjectNameFromGitUrl(url: string): string;