Learn R Programming

gitlabr (version 0.5.1)

archive: Get zip archive of a specific repository

Description

Get zip archive of a specific repository

Usage

archive(project, save_to_file = tempfile(fileext = ".zip"), ...)

Arguments

project
Project name or id
save_to_file
path where to save archive; if this is NULL, the archive itself is returned as a raw vector
...
further parameters passed on to gitlab API call, may include parameter sha for specifying a commit hash

Value

  • if save_to_file is NULL, a raw vector of the archive, else the path to the saved archived file