1 | import { BranchMultiDeleteResult, BranchSingleDeleteFailure, BranchSingleDeleteResult, BranchSingleDeleteSuccess } from '../../../typings';
|
2 | export declare class BranchDeletionBatch implements BranchMultiDeleteResult {
|
3 | all: BranchSingleDeleteResult[];
|
4 | branches: {
|
5 | [branchName: string]: BranchSingleDeleteResult;
|
6 | };
|
7 | errors: BranchSingleDeleteResult[];
|
8 | get success(): boolean;
|
9 | }
|
10 | export declare function branchDeletionSuccess(branch: string, hash: string): BranchSingleDeleteSuccess;
|
11 | export declare function branchDeletionFailure(branch: string): BranchSingleDeleteFailure;
|
12 | export declare function isSingleBranchDeleteFailure(test: BranchSingleDeleteResult): test is BranchSingleDeleteSuccess;
|