fn temp_snapshot_dir_path(tmp_dir: &TempDir) -> String {
        let snapshot_dir = String::from(tmp_dir.as_path().join("snapshot").to_str().unwrap());
        std::fs::create_dir(&snapshot_dir).unwrap();
        snapshot_dir
    }
// Creates the directory and returns the path.
Creates the directory and returns the path.
Creates the directory and returns the path .
fn temp_snapshot_dir_path(tmp_dir: &TempDir) -> String {
        let snapshot_dir = String::from(tmp_dir.as_path().join("snapshot").to_str().unwrap());
        std::fs::create_dir(&snapshot_dir).unwrap();
        snapshot_dir
    }
fn temp_snapshot_dir_path ( tmp_dir : & TempDir ) -> String { let snapshot_dir = String :: from ( tmp_dir . as_path ( ) . join ( " " ) . to_str ( ) . unwrap ( ) ) ; std :: fs :: create_dir ( & snapshot_dir ) . unwrap ( ) ; snapshot_dir }
Creates the directory and returns the path.
Creates the directory and returns the path .
tmp_dir
&TempDir