repo_root: Show path to repo root

Description Usage Value Examples

View source: R/repo_public.R

Description

Show path to repo root

Usage

1

Value

character containing the path to the root of the repo.

Examples

1
2
3
4
5
6
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
print(rp$root())

## wiping temporary repo
unlink(rp_path, TRUE)

franapoli/repo documentation built on May 17, 2021, 7:24 p.m.