Skip to main content

get_main_repo_root

Function get_main_repo_root 

Source
pub fn get_main_repo_root(repo: Option<&Path>) -> Result<PathBuf>
Expand description

Get main repository path, even when called from a worktree.