get_https_urls

Function get_https_urls 

Source
pub fn get_https_urls(repo: &Repository) -> Result<Vec<String>>
Expand description

Retrieves HTTPS URLs for all configured remotes in the repository.

ยงErrors

  • If listing remotes fails.
  • If finding a remote by name fails.
  • If a remote has no URL configured.
  • If URL has an unsupported protocol.