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). Supports: https://github.com/owner/repo, https://github.com/owner/repo.git, https://github.com/owner/repo/tree/main, etc.