Skip to main content

tag_header_field

Function tag_header_field 

Source
pub fn tag_header_field(data: &[u8], prefix: &[u8]) -> Option<String>
Expand description

Value after prefix on the first header line that starts with prefix, scanning until a blank line (Git tag headers). Returns None if no such line exists before the body.