Skip to main content

short

Function short 

Source
pub fn short(sha: &str) -> &str
Expand description

The first 12 characters of a SHA, for display. Bounded rather than sliced at a fixed 12, so an abbreviated or empty name can never panic a report.