Skip to main content

normalize_remote

Function normalize_remote 

Source
pub fn normalize_remote(url: &str) -> Option<Remote>
Expand description

Normalize a remote URL (SSH or HTTPS) to a web base. Priority upstream > origin > rest is the caller’s job (0001 pillar 3.3).