Skip to main content

github_full_name_from_remote

Function github_full_name_from_remote 

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

Derive owner/repo from a GitHub remote URL (git@github.com:o/r.git, ssh://git@github.com/o/r.git, https://github.com/o/r[.git]). Any other host or shape is None — the caller refuses closed when it cannot establish the served repository’s identity.