github_download: Download the entire tree from a commit.

Description Usage Arguments Value

View source: R/repositories.R

Description

Download the entire tree from a commit.

Usage

1
github_download(ref, repo, path, api = getOption("github.api"), ...)

Arguments

ref

(string, optional) The name of the commit/branch/tag. Default: the repository<e2><80><99>s default branch (usually master).

repo

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

path

(string) The path to save the tree to

api

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

...

Parameters passed to gh_page.

Value

Full tree of files in specified location.


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