Skip to main content

format_commit_message

Function format_commit_message 

Source
pub fn format_commit_message(
    analysis: &ConventionalAnalysis,
    summary: &str,
) -> String
Expand description

Format a conventional commit message from an analysis and summary line.

Produces type(scope): summary (or type: summary when the scope is empty) followed by a blank line and - detail bullets, then an optional Refs footer.