aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts
blob: e7d35176ba4aeb0162797788b38a66a26086b386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { BranchMultiDeleteResult, BranchSingleDeleteFailure, BranchSingleDeleteResult, BranchSingleDeleteSuccess } from '../../../typings';
export declare class BranchDeletionBatch implements BranchMultiDeleteResult {
    all: BranchSingleDeleteResult[];
    branches: {
        [branchName: string]: BranchSingleDeleteResult;
    };
    errors: BranchSingleDeleteResult[];
    get success(): boolean;
}
export declare function branchDeletionSuccess(branch: string, hash: string): BranchSingleDeleteSuccess;
export declare function branchDeletionFailure(branch: string): BranchSingleDeleteFailure;
export declare function isSingleBranchDeleteFailure(test: BranchSingleDeleteResult): test is BranchSingleDeleteSuccess;