fn check_home() -> PathBuf {
    let sys_home = Etc::from(dirs::home_dir().expect("Could not find home_dir"));
    sys_home
        .mkdir(".cydonia")
        .expect("Could not create ~/.cydonia");

    sys_home
        .open(".cydonia")
        .expect("Coud not open ~/.cydonia")
        .real_path()
        .expect("~/.cydonia does not exist")
}
/// Check and return home dir of cydonia
Check and return home dir of cydonia
Check and return home dir of cydonia
fn check_home() -> PathBuf {
    let sys_home = Etc::from(dirs::home_dir().expect("Could not find home_dir"));
    sys_home
        .mkdir(".cydonia")
        .expect("Could not create ~/.cydonia");
    sys_home
        .open(".cydonia")
        .expect("Coud not open ~/.cydonia")
        .real_path()
        .expect("~/.cydonia does not exist")
}
fn check_home ( ) -> PathBuf { let sys_home = Etc :: from ( dirs :: home_dir ( ) . expect ( " " ) ) ; sys_home . mkdir ( " " ) . expect ( " " ) ; sys_home . open ( " " ) . expect ( " " ) . real_path ( ) . expect ( " " ) }
Check and return home dir of cydonia
Check and return home dir of cydonia