Trait forky_core::PathBufExt

source ·
pub trait PathBufExt {
Show 13 methods // Required methods fn push_with<P: AsRef<Path>>(parent: &PathBuf, path: P) -> Self; fn filename_starts_with_uppercase(&self) -> bool; fn filename_included(&self, arr: &[&str]) -> bool; fn filestem_starts_with_underscore(&self) -> bool; fn filestem_ends_with_underscore(&self) -> bool; fn filestem_ends_with_double_underscore(&self) -> bool; fn filestem_contains_double_underscore(&self) -> bool; fn filestem_ends_with_triple_underscore(&self) -> bool; fn parent_ends_with_underscore(&self) -> bool; fn parent_ends_with_double_underscore(&self) -> bool; fn is_dir_or_extension(&self, ext: &str) -> bool; fn parents(&self) -> Vec<PathBuf>; fn pop_first_two_path_components(path: &str) -> PathBuf;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PathBufExt for PathBuf

Implementors§