/// Read the raw contents of the file.
Read the raw contents of the file.
Read the raw contents of the file .
pub fn read_content(&self) -> Result<Vec<u8>, Error> {
        let object = self.entry.to_object(self.branch.repo)?;
        let blob = object.peel_to_blob()?;
        Ok(blob.content().to_vec())
    }
pub fn read_content ( & self ) -> Result < Vec < u8 > , Error > { let object = self . entry . to_object ( self . branch . repo ) ? ; let blob = object . peel_to_blob ( ) ? ; Ok ( blob . content ( ) . to_vec ( ) ) }
Read the raw contents of the file.
Read the raw contents of the file .
&self