Trait reproto_core::Handle [] [src]

pub trait Handle {
    fn is_dir(&self, path: &RelativePath) -> bool;
fn is_file(&self, path: &RelativePath) -> bool;
fn create_dir_all(&self, path: &RelativePath) -> Result<()>;
fn create(&self, path: &RelativePath) -> Result<Box<Write>>; }

Required Methods

Check if the given path is a directory or not.

Check if the given path is a file or not.

Recursively create the given path.

Create the given file (for writing).

Implementors