pub fn path_to_string(p: PathBuf) -> String {
    match p.into_os_string().into_string() {
        Ok(s) => s,
        Err(_) => "".to_string()
    }
}
/// Convert a pathbuf to a string
Convert a pathbuf to a string
Convert a pathbuf to a string
pub fn path_to_string(p: PathBuf) -> String {
    match p.into_os_string().into_string() {
        Ok(s) => s,
        Err(_) => "".to_string()
    }
}
pub fn path_to_string ( p : PathBuf ) -> String { match p . into_os_string ( ) . into_string ( ) { Ok ( s ) => s , Err ( _ ) => " " . to_string ( ) } }
Convert a pathbuf to a string
Convert a pathbuf to a string
p
PathBuf
p
PathBuf