Skip to main content

base_dir

Function base_dir 

Source
fn base_dir(repo: Option<&OsStr>) -> Result<PathBuf>
Expand description

The directory a --repo value is joined to. An absolute --repo needs no current directory, so a command given one still works from a working directory that no longer exists (design §6.2, §10 “--repo is the explicit override”).