fn read_metadata(&self) -> Result<HashMap<String, String>> {
        let filename = self.metadata_dir().join("meta-data");
        let file =
            File::open(&filename).chain_err(|| format!("failed to open file '{:?}'", filename))?;
        let bufrd = BufReader::new(file);
        Self::parse_metadata(bufrd)
    }
/// Read metadata file and parse attributes.
Read metadata file and parse attributes.
Read metadata file and parse attributes .
fn read_metadata(&self) -> Result<HashMap<String, String>> {
        let filename = self.metadata_dir().join("meta-data");
        let file =
            File::open(&filename).chain_err(|| format!("failed to open file '{:?}'", filename))?;
        let bufrd = BufReader::new(file);
        Self::parse_metadata(bufrd)
    }
fn read_metadata ( & self ) -> Result < HashMap < String , String > > { let filename = self . metadata_dir ( ) . join ( " " ) ; let file = File :: open ( & filename ) . chain_err ( | | format ! ( " " filename ) ) ? ; let bufrd = BufReader :: new ( file ) ; Self :: parse_metadata ( bufrd ) }
Read metadata file and parse attributes.
Read metadata file and parse attributes .
&self