realpath-rs 0.2.0

A cross-platform Rust equivalent of python3's `os.path.realpath`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//!## Usage
//!#no_run
//! ```rust 
//! use crate::realpath::realpath; 
//! use std::path::PathBuf; 

//! let src = PathBuf::from("Cargo.toml");
//! let dest : PathBuf = realpath(&src)?; 
//! println!("{} -> {}", src.display(), dest.display()); 
//! ```


mod util; 
pub use util::*; 

#[cfg(test)]
mod test;