Skip to main content

repo_root

Function repo_root 

Source
pub fn repo_root() -> Result<PathBuf>
Expand description

Get the root directory of the current git repository.

ยงErrors

Returns an error if not inside a git repository.