Skip to main content

canonical_to_internal

Function canonical_to_internal 

Source
pub fn canonical_to_internal(clash_name: &str) -> Option<&'static str>
Expand description

Given a canonical name (e.g. “shell”), return the internal name (e.g. “Bash”).

Case-insensitive. Used by the policy compiler to resolve user-facing aliases.