Skip to main content

read_commit_subject_pretty

Function read_commit_subject_pretty 

Source
pub fn read_commit_subject_pretty(data: &[u8]) -> Result<String>
Expand description

Subject from commit object bytes (see commit_subject_pretty).

ยงErrors

Returns Error::CorruptObject when the commit headers are malformed.