Skip to main content

parse_github_owner_repo

Function parse_github_owner_repo 

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

Parse “owner/repo” from a GitHub remote URL. Handles SSH (git@github.com:owner/repo.git) and HTTPS (https://github.com/owner/repo.git).