1 2 3 4 5 6 7 8
extern crate rrun_ssh; use rrun_ssh::*; fn main() { let mounts = RemoteMounts::load().expect("unable to load mtab"); let location = mounts.into_current_dir().expect("failed to get current directory"); println!("{}", location); }