// Function to create a directory and all parents (if needed)
//
// Will panic if error
Function to create a directory and all parents (if needed)
Will panic if error
Function to create a directory and all parents ( if needed ) Will panic if error
pub fn create_dir_all(path: &str) {
    match fs::create_dir_all(&path) {
        Ok(_) => (),
        Err(error) => {
            panic!("Error when crating directory {}\n{}",
                   &path, error)
        },
    };
}
pub fn create_dir_all ( path : & str ) { match fs :: create_dir_all ( & path ) { Ok ( _ ) => ( ) , Err ( error ) => { panic ! ( " \n " path error ) } , } ; }
Function to create a directory and all parents (if needed)
Will panic if error
Function to create a directory and all parents ( if needed ) Will panic if error
path
&str