UNPKG

branch-remover

Version:

A small application for quickly removing unnecessary branches from GitHub.

17 lines (10 loc) 347 B
import { Branch, BranchListItem } from './Types'; export interface IBranchesProvider { /** * Gets the name of the provider. */ readonly name: string; getListBranches(): Promise<Array<BranchListItem>>; getBranch(branchName: string, lastCommitHash?: string): Promise<Branch>; removeBranch(branchName: string): Promise<void>; }