fedimint_testing::db

Function get_project_root

Source
pub fn get_project_root() -> Result<PathBuf, Error>
Expand description

Get the project root (relative to closest Cargo.lock file)

match fedimint_testing_core::db::get_project_root() {
    Ok(p) => println!("Current project root is {:?}", p),
    Err(e) => println!("Error obtaining project root {:?}", e),
};