github_compare_files: List the files that have changed from the head of one branch...

Description Usage Arguments Value

View source: R/repositories.R

Description

This function lists the files that have changed between the base branch and the latest commit on head branch. It returns a tibble with the columns "filename", "status", "additions", "deletions", "changes" and "contents_url" with a row for each file.

Usage

1
github_compare_files(base, head, repo, api = getOption("github.api"), ...)

Arguments

base

(string) The base branch name.

head

(string) The branch to compare to the base.

repo

(string) The repository specified as "owner/repo".

api

(string, optional) The address to GitHub's API. Default: Uses the option github.api.

...

Parameters passed to gh_page.

Value

A tibble with the columns "filename", "status", "additions", "deletions", "changes" and "contents_url".


ChadGoymer/github documentation built on June 1, 2017, 5:17 p.m.