[][src]Trait path_ext::PathExt

pub trait PathExt {
    fn full_str(&self) -> &str;
fn ext_str(&self) -> &str;
fn stem_str(&self) -> &str;
fn name_str(&self) -> &str;
fn create_parent_dir_all(&self) -> Result<()>;
fn merge<P: AsRef<Path>>(&self, append: P) -> PathBuf;
fn is_file(&self) -> bool;
fn is_dir(&self) -> bool;
fn walk_dir<F: Fn(&Path) -> bool>(&self, filter: F) -> Vec<PathBuf>;
fn mkdir_after_remove(&self) -> Result<PathBuf>; }

Required methods

fn full_str(&self) -> &str

fn ext_str(&self) -> &str

fn stem_str(&self) -> &str

fn name_str(&self) -> &str

fn create_parent_dir_all(&self) -> Result<()>

fn merge<P: AsRef<Path>>(&self, append: P) -> PathBuf

fn is_file(&self) -> bool

fn is_dir(&self) -> bool

fn walk_dir<F: Fn(&Path) -> bool>(&self, filter: F) -> Vec<PathBuf>

fn mkdir_after_remove(&self) -> Result<PathBuf>

Loading content...

Implementors

impl<T: AsRef<Path>> PathExt for T[src]

Loading content...