Trait test_dir::DirBuilder
source · [−]pub trait DirBuilder {
fn create(self, path: &str, filetype: FileType) -> Self;
fn remove(self, path: &str) -> Self;
fn path(&self, path: &str) -> PathBuf;
fn root(&self) -> &Path;
}
Expand description
File structure builder trait
Required methods
Create a file or directory under the path