pub fn parse_tag(data: &[u8]) -> Result<TagData>Expand description
Parse the raw data of a tag object.
ยงErrors
Returns Error::CorruptObject if required headers are missing or malformed.
When the header block ends at EOF without a blank line, the message is empty (Git accepts this).