get_repos_trees | R Documentation |
Pulls files tree (structure) per repository. Files trees are
then stored as character vectors in files_tree
column of output table.
get_repos_trees(
gitstats,
pattern = NULL,
depth = Inf,
cache = TRUE,
verbose = is_verbose(gitstats),
progress = verbose
)
gitstats |
A GitStats object. |
pattern |
A regular expression. If defined, it pulls structure of files
in a repository matching this pattern reaching to the level of directories
defined by |
depth |
Defines level of directories to reach for files structure from.
E.g. if set to |
cache |
A logical, if set to |
verbose |
A logical, |
progress |
A logical, by default set to |
A tibble
.
## Not run:
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
orgs = c("r-world-devs", "openpharma")
)
get_repos_trees(
gitstats = my_gitstats,
pattern = "\\.md"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.