togezr
Version:
Better together_
13 lines • 882 B
TypeScript
import { Repository } from '../../typings/git';
export declare const getUserName: () => string | undefined;
export declare const initGit: () => void;
export declare const getRepoOrigin: (repo: Repository) => string;
export declare const getRepos: () => Repository[];
export declare const getCurrentRepo: () => Repository | undefined;
export declare const getCurrentBranch: () => import("../../typings/git").Branch | undefined;
export declare const createBranch: (branchName: string, isSwitch: boolean, fromBranch: string) => Promise<void>;
export declare const switchToTheBranch: (branchName: string, isPreventMessage?: boolean) => Promise<void>;
export declare const startListenOnBranchChange: () => Promise<void>;
export declare const getCurrentRepoId: () => string;
export declare const isBranchExist: (branchName: string) => Promise<boolean>;
//# sourceMappingURL=index.d.ts.map