fn find_git_repo_root() -> PathBuf {
    let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
    let mut path = Path::new(&manifest_dir);
    while !path.join(".git").exists() {
        path = path.parent().unwrap();
    }
    return path.to_owned();
}
// Finds the absolute path to the root of the repository.
Finds the absolute path to the root of the repository.
Finds the absolute path to the root of the repository .
fn find_git_repo_root() -> PathBuf {
    let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
    let mut path = Path::new(&manifest_dir);
    while !path.join(".git").exists() {
        path = path.parent().unwrap();
    }
    return path.to_owned();
}
fn find_git_repo_root ( ) -> PathBuf { let manifest_dir = env :: var ( " " ) . unwrap ( ) ; let mut path = Path :: new ( & manifest_dir ) ; while ! path . join ( " " ) . exists ( ) { path = path . parent ( ) . unwrap ( ) ; } return path . to_owned ( ) ; }
Finds the absolute path to the root of the repository.
Finds the absolute path to the root of the repository .