check-vector-isGitRepo | R Documentation |
Does the input contain a Git repository?
isGitRepo(x)
isAGitRepo(x)
allAreGitRepos(x)
x |
Object. |
TRUE
on success;
FALSE
on failure, with cause set.
isGitRepo()
: Vectorized.
isAGitRepo()
: Scalar.
allAreGitRepos()
: Scalar.
Updated 2023-10-02.
## TRUE ====
isGitRepo(file.path("~", "git", "monorepo"))
## FALSE ====
isGitRepo("~")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.