Expand description
Time formatting and OID helpers.
Functions§
- fmt_oid
- Format a
git2::Oidas a full hex string. - relative_
time - Return a human-friendly relative-time string for the given UTC timestamp.
- short_
oid - Format a
git2::Oidas an abbreviated hex string (first 7 characters). - short_
oid_ str - Abbreviate a hex OID string to the first 7 characters.