fn shift_path(reference: &str, path: &str) -> String {
    let mut path_buf = PathBuf::from(reference);
    path_buf.set_file_name(path);
    path_buf.to_str().unwrap().to_owned()
}
/// Get an adjusted path based on a reference
Get an adjusted path based on a reference
Get an adjusted path based on a reference
fn shift_path(reference: &str, path: &str) -> String {
    let mut path_buf = PathBuf::from(reference);
    path_buf.set_file_name(path);
    path_buf.to_str().unwrap().to_owned()
}
fn shift_path ( reference : & str , path : & str ) -> String { let mut path_buf = PathBuf :: from ( reference ) ; path_buf . set_file_name ( path ) ; path_buf . to_str ( ) . unwrap ( ) . to_owned ( ) }
Get an adjusted path based on a reference
Get an adjusted path based on a reference
reference
&str
path
&str
reference
&str
path
&str