Trait PathCreateDir

Source
pub trait PathCreateDir {
    // Required method
    fn create_dir_all(&self) -> Result<(), FixtureError>;
}
Expand description

Create empty directories at ChildPath.

Required Methods§

Source

fn create_dir_all(&self) -> Result<(), FixtureError>

Create an empty directory at ChildPath.

§Examples
use camino_tempfile_ext::prelude::*;

let temp = Utf8TempDir::new().unwrap();
temp.child("subdir").create_dir_all().unwrap();
temp.close().unwrap();

Implementors§