Skip to main content

normalize_task_name

Function normalize_task_name 

Source
pub fn normalize_task_name(name: &str) -> String
Expand description

Normalizes a task/commit name for near-duplicate and ignore-list comparison.

Trims whitespace, collapses internal spaces, lowercases, and strips trailing punctuation so variants like "New commit", "New commit.", and " New commit" map to the same key.