Count lines of code, comments and whitespace in a git tree
cloc_git( repo, commit = ".", branch = NULL, credentials = NULL, progress = FALSE )
repo | path to git repo; if |
---|---|
commit | " |
branch, credentials, progress | passed on to |
data frame (tibble)
if (FALSE) { cloc_git("~/packages/cloc", "3643cd09d4b951b1b35d32dffe35985dfe7756c4") # from remote git cloc_git("git://github.com/hrbrmstr/cloc.git") }