pub fn from<S: AsRef<str>>(content: S) -> io::Result<Self> {
        let mut configs: Configs = deserialize_from_bytes(content.as_ref().as_bytes())
            .map_err(|error| Error::new(ErrorKind::InvalidData, error))?;
        expand_path!(&mut configs.internal.paths);
        expand_path!(&mut configs.configurable.ignored_paths.value);
        Ok(configs)
    }
/// Construct config from given yaml file
Construct config from given yaml file
Construct config from given yaml file
pub fn from<S: AsRef<str>>(content: S) -> io::Result<Self> {
        let mut configs: Configs = deserialize_from_bytes(content.as_ref().as_bytes())
            .map_err(|error| Error::new(ErrorKind::InvalidData, error))?;
        expand_path!(&mut configs.internal.paths);
        expand_path!(&mut configs.configurable.ignored_paths.value);
        Ok(configs)
    }
pub fn from < S : AsRef < str > > ( content : S ) -> io :: Result < Self > { let mut configs : Configs = deserialize_from_bytes ( content . as_ref ( ) . as_bytes ( ) ) . map_err ( | error | Error :: new ( ErrorKind :: InvalidData , error ) ) ? ; expand_path ! ( mut configs internal paths ) ; expand_path ! ( mut configs configurable ignored_paths value ) ; Ok ( configs ) }
Construct config from given yaml file
Construct config from given yaml file
content
S