aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/src/lib/tasks/branch.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/simple-git/src/lib/tasks/branch.d.ts')
-rw-r--r--node_modules/simple-git/src/lib/tasks/branch.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/simple-git/src/lib/tasks/branch.d.ts b/node_modules/simple-git/src/lib/tasks/branch.d.ts
new file mode 100644
index 0000000..157b2ae
--- /dev/null
+++ b/node_modules/simple-git/src/lib/tasks/branch.d.ts
@@ -0,0 +1,7 @@
+import { BranchMultiDeleteResult, BranchSingleDeleteResult, BranchSummary } from '../../../typings';
+import { StringTask } from '../types';
+export declare function containsDeleteBranchCommand(commands: string[]): boolean;
+export declare function branchTask(customArgs: string[]): StringTask<BranchSummary | BranchSingleDeleteResult>;
+export declare function branchLocalTask(): StringTask<BranchSummary>;
+export declare function deleteBranchesTask(branches: string[], forceDelete?: boolean): StringTask<BranchMultiDeleteResult>;
+export declare function deleteBranchTask(branch: string, forceDelete?: boolean): StringTask<BranchSingleDeleteResult>;