repo_root: Show path to repo root

View source: R/repo_public.R

repo_rootR Documentation

Show path to repo root

Description

Show path to repo root

Usage

repo_root()

Value

character containing the path to the root of the repo.

Examples

rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
print(rp$root())

## wiping temporary repo
unlink(rp_path, TRUE)

repo documentation built on Aug. 5, 2026, 1:10 a.m.