Skip to main content

new_id

Function new_id 

Source
pub fn new_id(title: &str, taken: &[String]) -> String
Expand description

A short, stable id from a title: “Studio Lumen — site” → “studio-lumen-site”; another number when it is taken.