Skip to main content

build_commit_chunk

Function build_commit_chunk 

Source
pub fn build_commit_chunk(
    hash: &str,
    date_str: &str,
    subject: &str,
    body: &str,
) -> String
Expand description

Build a chunk for a git commit message.

Format:

[commit] <hash>
Date: <ISO date>
<subject line>

<body>