Skip to main content

replace_git_paw_section

Function replace_git_paw_section 

Source
pub fn replace_git_paw_section(content: &str, new_section: &str) -> String
Expand description

Replaces the git-paw section (start marker through end marker, inclusive) with new_section. If the end marker is missing, replaces from the start marker to EOF.