mod_name_from_url

Function mod_name_from_url 

Source
pub fn mod_name_from_url(url: &str) -> Option<String>
Expand description

Extracts the module name from a .git URL

For example, https://github.com/trueagi-io/hyperon-experimental.git would be parsed into “hyperon-experimental”. Returns None if the form of the URL isn’t recognized