Skip to main content

format_pr_name_with_metadata

Function format_pr_name_with_metadata 

Source
pub fn format_pr_name_with_metadata(
    format: &str,
    metadata: &PrMetadata,
) -> String
Expand description

Expand all placeholders in format using metadata.

Supported placeholders: {number}, {title}, {author}, {branch}. Title, author, and branch values are sanitized for use in branch/directory names.