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

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

Create empty directories at ChildPath.

Required methods

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

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();
Loading content...

Implementors

impl PathCreateDir for ChildPath[src]

Loading content...