Enums§
Functions§
- expand_
short_ hash - Expand a short hash (typically 8 chars) to a full 40-char hash by prefix-matching against a list of candidates.
- is_
valid_ hex_ hash - Check if a string is a valid 40-character lowercase hex hash.
- normalize_
commit_ ref - Strip the GitHub commit URL prefix if present.
https://github.com/owner/repo/commit/abc123...→abc123... - strip_
carriage_ returns - Strip carriage returns from a string.