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