Skip to main content
Go to Latest
function listBranches
import { listBranches } from "https://deno.land/x/fathym_everything_as_code@v0.1.63-integration/src/octokit/listBranches.ts";

List the branches of a repository.

Parameters

octokit: Octokit

The Octokit instance.

owner: string

The owner of the repository.

repo: string

The repository.

Returns

Promise<Branch[]>

THe list of branches from a repository.