Skip to main content

is_github_https_url

Function is_github_https_url 

Source
pub fn is_github_https_url(url: &str) -> bool
Expand description

Whether url is an https:// URL whose host is github.com (or www.github.com), ignoring case, userinfo and port.

These are the only remotes where a token stored by github_token_credential is sent as the HTTP password.