Struct rsfs::mem::unix::DirBuilder
[−]
[src]
pub struct DirBuilder { /* fields omitted */ }
A builder used to create directories in various manners.
This builder implements rsfs::DirBuilder
and supports unix extensions.
Examples
let fs = FS::new(); let db = fs.new_dirbuilder(); db.create("dir")?;
Trait Implementations
impl Clone for DirBuilder
[src]
fn clone(&self) -> DirBuilder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DirBuilder
[src]
impl DirBuilder for DirBuilder
[src]
fn recursive(&mut self, recursive: bool) -> &mut Self
Indicates that directories should be opened recursively, creating directories if they do not exist. Read more
fn create<P: AsRef<Path>>(&self, path: P) -> Result<()>
Creates the directory specified by path
. Read more