Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function listBranches
import { listBranches } from "https://deno.land/x/fathym_everything_as_code@v0.1.73/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.