gl_list_files | R Documentation |
List of files in a folder
gl_list_files(project, path = "", ref = get_main(), ...)
project |
id (preferred way) or name of the project. Not repository name. |
path |
path of the folder |
ref |
name of ref (commit branch or tag). Default to 'main'. |
... |
passed on to |
Tibble of files available in the branch with descriptive variables.
## Not run:
# Set GitLab connection for examples
set_gitlab_connection(
gitlab_url = "https://gitlab.com",
private_token = Sys.getenv("GITLAB_COM_TOKEN")
)
gl_list_files(project = "<<your-project-id>>", path = "<<path-to-folder>>")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.