path_abs 0.5.1

Ergonomic paths and files in rust.
Documentation
1
2
3
4
5
6
7
8
9
mod absolute_helpers;

fn setup() {
    #[cfg(windows)]
    std::env::set_current_dir(r"C:\").expect("Could not change to a regular directory");

    // For cfg(unix), we're always in a regular directory, so we don't need to
    // do anything special.
}