Custodian v0.0.1 Custodian.Github.Tentacat.References View Source

Provides an implementation of the Custodian.Github.References behaviour with the GitHub API.

This module provides a function to delete branches via the GitHub v3 API over HTTPS.

Link to this section Summary

Functions

Removes the branch from the repo connected to bot

Link to this section Functions

Link to this function remove(bot, branch) View Source
remove(Custodian.Bots.Bot.t(), String.t()) :: tuple()

Removes the branch from the repo connected to bot.

More info.

Examples

iex> remove(%Bot{}, "pr-1")
{201, ""}