pub fn detect(
repo_root: &Path,
remote_host: Option<&str>,
forced: Option<ProviderKind>,
) -> Option<Detected>Expand description
Detect from the repo on disk. remote_host is the host of the repo’s origin
remote (e.g. github.com); forced is a config override of the kind.