dir_run_branch_toplevel: Toplevel directory of the (branch-specific) run directory

Description Usage Arguments Details Value

View source: R/dir.R

Description

If passed ~/analyses/project/folder/, where ~/analyses/project is the git toplevel folder, will return

Usage

1

Arguments

dir

A directory

check

Logical, if FALSE no test for whether dir is inside a git work tree

Details

mngr_option_dir_run("$GIT_TOPLEVEL")/$GIT_BRANCH/

If mngr_option_dir_run($GIT_TOPLEVEL)=$GIT_TOPLEVEL, then just returns what was supplied

Value

Path to the git toplevel for the run directory corresponding to dir


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