gh_archive: Get archive link

Description Usage Arguments Value

View source: R/repositories.R

Description

urlhttps://developer.github.com/v3/repos/contents/#get-archive-link

Usage

1
2
gh_archive(ref, repo, archive_format = "tarball",
  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".

archive_format

(string) Can be either tarball or zipball. Default: tarball.

api

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

...

Parameters passed to gh_page.

Value

Binary form of archive file.


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