[−][src]Trait test_dir::DirBuilder
File structure builder trait
Required methods
fn create(self, path: &str, filetype: FileType) -> Self
Create a file or directory under the path
fn remove(self, path: &str) -> Self
Remove a file or directory under the path
fn path(&self, path: &str) -> PathBuf
Prefix path
with the current context of the DirBuilder
fn root(&self) -> &Path
Return the root path to the temporary directory
Implementors
impl DirBuilder for TestDir
[src]
fn create(self, path: &str, filetype: FileType) -> Self
[src]
Create a file or directory under the path
fn remove(self, path: &str) -> Self
[src]
Remove a file or directory under the path
fn path(&self, path: &str) -> PathBuf
[src]
Prefix path
with the current context of the DirBuilder
fn root(&self) -> &Path
[src]
Return the root path to the temporary directory