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

x/kd_clients/mod.ts>GitClient#branchExists

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

Gets a value indicating whether or not a branch with the given branch name exists.

Parameters

name: string

The name of the branch.

Returns

Promise<boolean>

True if the branch exists; otherwise, false.