pub fn try_from_yaml<P: AsRef<Path>>(manifest_file: &P) -> Result<Self, Error> {
        let s = fs::read_to_string(manifest_file)
            .map_err(|e| Error::Manifest(format!("Could not load manifest file cause: {}", e)))?;
        Self::verify(
            serde_yaml::from_str::<GlProjects>(&s).map_err(|e| Error::General(format!("{}", e)))?,
        )
    }
/// Returns a GlProjects data structure from a specified repo manifest in GlProject YAML
/// format.
/// Error
/// std::io::Error
/// # Arguments
///
/// * `manifest_file` full path to YAML manifest.
///
Returns a GlProjects data structure from a specified repo manifest in GlProject YAML
format.
Error
std::io::Error
Returns a GlProjects data structure from a specified repo manifest in GlProject YAML format . Error std :: io :: Error
pub fn try_from_yaml<P: AsRef<Path>>(manifest_file: &P) -> Result<Self, Error> {
        let s = fs::read_to_string(manifest_file)
            .map_err(|e| Error::Manifest(format!("Could not load manifest file cause: {}", e)))?;
        Self::verify(
            serde_yaml::from_str::<GlProjects>(&s).map_err(|e| Error::General(format!("{}", e)))?,
        )
    }
pub fn try_from_yaml < P : AsRef < Path > > ( manifest_file : & P ) -> Result < Self , Error > { let s = fs :: read_to_string ( manifest_file ) . map_err ( | e | Error :: Manifest ( format ! ( " " e ) ) ) ? ; Self :: verify ( serde_yaml :: from_str :: < GlProjects > ( & s ) . map_err ( | e | Error :: General ( format ! ( " " e ) ) ) ? , ) }
Returns a GlProjects data structure from a specified repo manifest in GlProject YAML
format.
Returns a GlProjects data structure from a specified repo manifest in GlProject YAML format .
manifest_file
&P
manifest_file
&P