UNPKG

479 BTypeScriptView Raw
1import type { BranchSummary, BranchSummaryBranch } from '../../../typings';
2export declare enum BranchStatusIdentifier {
3 CURRENT = "*",
4 LINKED = "+"
5}
6export declare class BranchSummaryResult implements BranchSummary {
7 all: string[];
8 branches: {
9 [p: string]: BranchSummaryBranch;
10 };
11 current: string;
12 detached: boolean;
13 push(status: BranchStatusIdentifier | unknown, detached: boolean, name: string, commit: string, label: string): void;
14}