pub trait PathExt {
// Required methods
fn file_name_str(&self) -> Option<&str>;
fn directory_name_str(&self) -> Option<&str>;
fn get_relative_path_to<P>(&self, path: P, exclude_file: bool) -> String
where P: AsRef<Path>;
}pub trait PathExt {
// Required methods
fn file_name_str(&self) -> Option<&str>;
fn directory_name_str(&self) -> Option<&str>;
fn get_relative_path_to<P>(&self, path: P, exclude_file: bool) -> String
where P: AsRef<Path>;
}