gl_get_project_id: Get a project id by name

View source: R/projects_and_repos.R

gl_get_project_idR Documentation

Get a project id by name

Description

Get a project id by name

Usage

gl_get_project_id(project_name, ...)

Arguments

project_name

project name

...

passed on to gitlab()

Details

Number of pages searched is limited to (per_page =) 20 * (max_page =) 10 by default. If the project_name is an old project lost in a big repository (position > 200), gl_get_project_id() may not find the project id.

Value

Integer. ID of the project if found.

Examples

## Not run: 
gl_get_project_id("<<your-project-name>>")

## End(Not run)

gitlabr documentation built on Sept. 13, 2022, 5:06 p.m.