Skip to contents

Returns the path of the current git repository

Usage

find_git_root(path = ".")

Arguments

path

option string giving the path to use a starting point (i.e. that is part of the repository)

Details

The source of the resrepo package itself is refused, to avoid turning it into a resrepo by mistake: a repository whose folder is called resrepo, or whose DESCRIPTION file says Package: resrepo.