Skip to main content

generate_id

Function generate_id 

Source
pub fn generate_id(existing: &HashSet<String>, length: usize) -> String
Expand description

Generate a short alphanumeric ID, retrying on collision or YAML-unsafe IDs.