Skip to main content

prepend_changelog

Function prepend_changelog 

Source
pub fn prepend_changelog(existing: &str, version: &str, date: &str) -> String
Expand description

Prepend a CHANGELOG entry for version, creating a standard header if the file did not exist. Pure transform over the existing CHANGELOG contents.