Trait FloweyPathExt

Source
pub trait FloweyPathExt {
    // Required methods
    fn absolute(&self) -> Result<PathBuf>;
    fn make_executable(&self) -> Result<()>;
}
Expand description

Extension trait to streamline working with Path in flowey.

Required Methods§

Source

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

Source

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

Helper to make files executable on unix-like platforms

Implementors§

Source§

impl<T> FloweyPathExt for T
where T: AsRef<Path>,