Skip to main content

source_id

Function source_id 

Source
pub fn source_id(path: &str) -> String
Expand description

A source id: the path, lowercased, with every run of other characters turned into one hyphen.