Function foundry_config::utils::find_git_root_path
source · pub fn find_git_root_path(relative_to: impl AsRef<Path>) -> Result<PathBuf>Expand description
Returns the path of the top-level directory of the working git tree. If there is no working tree, an error is returned.