Skip to main content

dedup_name

Function dedup_name 

Source
pub fn dedup_name(existing: &[MCPServerConfig], name: &str) -> String
Expand description

A name that does not collide with anything already configured, by appending -2, -3, … Used when the user chooses to keep both.