Skip to main content

derive_app_id

Function derive_app_id 

Source
pub fn derive_app_id(dir: &Path) -> String
Expand description

The app id a directory name gives: lowercased, every character that is not a letter or digit replaced by -, lumen-app when nothing is left. The same rule the runtime applies, spelled here so an environment built with no runtime in the process derives the same id.