fn read() -> Result<ConfigFallback> {
        use std::fs;
        let pwd = Path::new(".");
        let mpath = pwd.join("shipcat.conf");
        let data = fs::read_to_string(&mpath)?;
        let vc: ConfigFallback = serde_yaml::from_str(&data)?;
        Ok(vc)
    }
/// Read the fallback version of the Config to decide if upgrade needed
Read the fallback version of the Config to decide if upgrade needed
Read the fallback version of the Config to decide if upgrade needed
fn read() -> Result<ConfigFallback> {
        use std::fs;
        let pwd = Path::new(".");
        let mpath = pwd.join("shipcat.conf");
        let data = fs::read_to_string(&mpath)?;
        let vc: ConfigFallback = serde_yaml::from_str(&data)?;
        Ok(vc)
    }
fn read ( ) -> Result < ConfigFallback > { use std :: fs ; let pwd = Path :: new ( " " ) ; let mpath = pwd . join ( " " ) ; let data = fs :: read_to_string ( & mpath ) ? ; let vc : ConfigFallback = serde_yaml :: from_str ( & data ) ? ; Ok ( vc ) }
Read the fallback version of the Config to decide if upgrade needed
Read the fallback version of the Config to decide if upgrade needed