powered by
Get zip archive of a specific repository
gl_archive(project, save_to_file = tempfile(fileext = ".zip"), ...)
Project name or id
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
gitlab
sha
if save_to_file is NULL, a raw vector of the archive, else the path to the saved archived file
# NOT RUN { my_project <- gl_project_connection(project = "example-project", ...) ## fill in login parameters my_project(gl_archive, save_to_file = "example-project.zip") # }
Run the code above in your browser using DataLab