is_inside_git_work_tree: Check if dir is inside git work tree

Description Usage Arguments Value

View source: R/dir.R

Description

Uses git rev-parse to test whether the supplied directory is a git work tree.

Usage

1

Arguments

dir

A directory, by default the current working directory

Value

A logical indicating whether dir is inside a git work tree. Returns FALSE if there are errors or warnings when running rev-parse.


rjbgoudie/mngr documentation built on May 27, 2019, 9:13 a.m.