Skip to main content

https_ls_remote

Function https_ls_remote 

Source
pub async fn https_ls_remote(
    url: &str,
    branch: &str,
    credential: Option<&CredentialKind>,
    follow_redirects: bool,
    reach: Reach,
) -> Result<LsRemoteResult, HttpsLsRemoteError>
Expand description

ls_remote over https, and with Reach::Public the host is checked before anything else: before the credential, and before git runs.