Skip to main content

github_slug

Function github_slug 

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

owner/name when the URL’s host is exactly github.com, in the forms git accepts: https://[user@]github.com/o/r, ssh://git@github.com[:port]/o/r and git@github.com:o/r.