emoji_for
The emoji the helpers4 commit convention puts after the colon for a commit type, such as ✨
for feat and 🐛 for fix.
The type is matched ignoring case. These are the primary emoji of the convention (see
commit-convention.json in the .dev repository), one per standard type: feat, fix,
docs, refactor, test, chore, perf, style, ci, build and revert.
Import
Section titled “Import”Cargo feature commit (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
kind | &str | The commit type, such as "feat". |
Returns
Section titled “Returns”Option<&'static str> — The emoji, or None for a type the convention does not define.
