Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>GitClient#getBranches

Various HTTP clients for miscellaneous use.
Latest
method GitClient.prototype.getBranches
import { GitClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/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.