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