Skip to main content

module_path_to_name

Function module_path_to_name 

Source
pub fn module_path_to_name(module_path: &str) -> String
Expand description

Convert a module path/key into a module name.

Handles both / and \\ separators and strips .pm/.pl suffixes.