Learn R Programming

ghclass (version 0.1.0)

repo_branches: Get repository branches

Description

repo_branches returns a (filtered) vector of branches for the current repository.

Usage

repo_branches(repo, filter = NULL, exclude = FALSE)

Arguments

repo

character, a single GitHub repository address in owner/repo format

filter

character, a regex pattern for matching (or excluding) branches.

exclude

logical, should entries matching the regex be excluded or included.