fedimint_testing_core::db

Function get_project_root

source
pub fn get_project_root() -> Result<PathBuf>
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),
};