Trait conch_runtime::env::WorkingDirectoryEnvironment [] [src]

pub trait WorkingDirectoryEnvironment {
    fn path_relative_to_working_dir<'a>(
        &self,
        path: Cow<'a, Path>
    ) -> Cow<'a, Path>;
fn current_working_dir(&self) -> &Path; }

An interface for working with the shell's current working directory.

Required Methods

Converts the specified path to one relative to the environment's working directory.

Retrieves the current working directory of this environment.

Implementations on Foreign Types

impl<'b, T: ?Sized + WorkingDirectoryEnvironment> WorkingDirectoryEnvironment for &'b T
[src]

[src]

[src]

impl<'b, T: ?Sized + WorkingDirectoryEnvironment> WorkingDirectoryEnvironment for &'b mut T
[src]

[src]

[src]

Implementors