pub fn detect_remote(repo_url: &str) -> Result<ForgeRemote, ReviewRequestError>Expand description
Detects one supported forge remote from repo_url.
ยงErrors
Returns ReviewRequestError::UnsupportedRemote when the repository
remote does not map to GitHub or GitLab.