UNPKG

747 BTypeScriptView Raw
1import { IShell } from '../definitions';
2export interface GitUtilDeps {
3 shell: IShell;
4}
5export declare function isGitInstalled({ shell }: GitUtilDeps): Promise<boolean>;
6export declare function getTopLevel({ shell }: GitUtilDeps): Promise<string | undefined>;
7export declare function isRepoInitialized(dir: string): Promise<boolean>;
8export declare function initializeRepo({ shell }: GitUtilDeps, dir: string): Promise<void>;
9export declare function getIonicRemote({ shell }: GitUtilDeps, dir: string): Promise<string | undefined>;
10export declare function addIonicRemote({ shell }: GitUtilDeps, dir: string, url: string): Promise<void>;
11export declare function setIonicRemote({ shell }: GitUtilDeps, dir: string, url: string): Promise<void>;