UNPKG

branch-remover

Version:

A small application for quickly removing unnecessary branches from GitHub.

16 lines (15 loc) 579 B
import { Branch, BranchListItem, IBranchesProvider } from '../../Core'; import { Auth } from './Types'; export declare class GitHubProvider implements IBranchesProvider { private readonly _auth; private readonly _client; private get owner(); private get repo(); get name(): string; constructor(auth: Auth); getListBranches(): Promise<Array<BranchListItem>>; getBranch(branchName: string, lastCommitHash?: string): Promise<Branch>; removeBranch(branchName: string): Promise<void>; private getPullRequestStatus; private getLastCommit; }