Skip to main content

parse_github_url

Function parse_github_url 

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

Parse a GitHub URL into (owner, repo). Handles: https://github.com/owner/repo[.git] git@github.com:owner/repo[.git] ssh://git@github.com/owner/repo[.git]