Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/mod.ts>GitClient#getBranches

Various HTTP clients for miscellaneous use.
Go to Latest
method GitClient.prototype.getBranches
import { GitClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/mod.ts";

Gets a list of branches for a repository.

Parameters

optional
untilPredicate: (branch: GitBranchModel) => boolean

Used to determine when to stop getting branches.

Returns

Promise<GitBranchModel[]>

The list of branches for the repository.