Accepts a GitHub repository URL and identifies all files in the specified folder. If no folder is specified, lists top-level repository contents. Recursive listing of sub-folders is supported by an additional argument. This function only works on repositories (public or private) to which you have access.
Arguments
- repo
(character) full URL for a GitHub repository (including "github.com")
- folder
(NULL/character) either
NULL
or the name of the folder to list. IfNULL
, the top-level contents of the repository will be listed- recursive
(logical) whether to recursively list contents (i.e., list contents of sub-folders identified within previously identified sub-folders)
- quiet
(logical) whether to print an informative message as the contents of each folder is being listed