fn resolve_path(&self, unresolved_path: &str) -> String {
        let path = Path::new(unresolved_path);

        if path.is_absolute() {
            return path.to_str().unwrap().to_owned();
        }

        let mut cwd = ::std::env::current_dir().unwrap();
        cwd.push(path);

        cwd.to_str().unwrap().to_owned()
    }
/// Resolves the unresolved path into an absolute path.
Resolves the unresolved path into an absolute path.
Resolves the unresolved path into an absolute path .
fn resolve_path(&self, unresolved_path: &str) -> String {
        let path = Path::new(unresolved_path);
        if path.is_absolute() {
            return path.to_str().unwrap().to_owned();
        }
        let mut cwd = ::std::env::current_dir().unwrap();
        cwd.push(path);
        cwd.to_str().unwrap().to_owned()
    }
fn resolve_path ( & self , unresolved_path : & str ) -> String { let path = Path :: new ( unresolved_path ) ; if path . is_absolute ( ) { return path . to_str ( ) . unwrap ( ) . to_owned ( ) ; } let mut cwd = :: std :: env :: current_dir ( ) . unwrap ( ) ; cwd . push ( path ) ; cwd . to_str ( ) . unwrap ( ) . to_owned ( ) }
Resolves the unresolved path into an absolute path.
Resolves the unresolved path into an absolute path .
&self
unresolved_path
&str
&self
unresolved_path
&str