Skip to main content

format_cmsg_result

Function format_cmsg_result 

Source
pub fn format_cmsg_result(passed: bool, first_line: &str) -> String
Expand description

Format a commit-msg hook result box (passed or blocked).

Returns the box as a String without trailing newline. The footer (hook file paths) is handled by the caller.