Skip to main content

split_remote

Function split_remote 

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

Host and project path from a git remote URL, for the URL and scp-like forms. The path drops a leading slash and a .git suffix.