[][src]Trait assert_fs::prelude::PathCreateDir

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

Create empty directories at ChildPath.

Required methods

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

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...