Skip to main content

parse_org

Function parse_org 

Source
pub fn parse_org(url: &str) -> String
Expand description

Extract the org/owner segment from a git remote URL. Handles ssh (git@host:org/repo.git) and URL (https://host/org/repo.git) forms.