#[allow(unused_macros)]
macro_rules! in_temp_dir {
($block:expr) => {{
let tmpdir = tempfile::tempdir().unwrap();
let tmpdir_path = tmpdir.path();
let disk_path = tmpdir_path.display().to_string() + "/disk";
std::fs::create_dir(disk_path).expect("Expected Disk path to create in TempDir.");
std::env::set_current_dir(&tmpdir).unwrap();
$block(tmpdir.path().display().to_string());
}};
}
#[allow(dead_code)]
#[allow(unused_imports)]
pub(crate) use in_temp_dir;