Trait assert_fs::fixture::PathCreateDir[][src]

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

Create empty directories at ChildPath.

Required methods

Create an empty file at ChildPath.

Examples

use assert_fs::prelude::*;

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

Implementors