foundry_config::utils

Function find_git_root

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

Returns the path of the top-level directory of the working git tree.