Get files in a repo

gh_repo_files_get(repo_commits, only_last_commit = TRUE, ...)

Arguments

repo_commits

Output from gh_commits_get()

only_last_commit

Only pull files in the most recent commit

...

Pass down options to gh::gh()

Details

New Columns

repo

Maximum VisitDate observed in the VISIT table

file

Maximum AdministeredDate observed in the MEDICATIONADMINISTRATION table

sha_repo

Can join back onto commit hash

sha_commit

hash

extension

The filetype

lang

Estimate of language from extension using GithubMetrics:::gh_filetype()