Skip to main content

write_commit_truncated_msg

Function write_commit_truncated_msg 

Source
pub(crate) fn write_commit_truncated_msg(
    out: &mut impl Write,
    commit_msg: &str,
    max: usize,
) -> Result<()>
Expand description

Writes up to max characters of s, appending when the string is longer.