pub async fn ls_remote(
url: &str,
branch: &str,
credentials: Option<&Credentials>,
follow_redirects: bool,
) -> Result<LsRemoteResult, LsRemoteError>Expand description
The commit branch names at url, empty when the remote has no such
branch or tag. error is what git said, with the credential hidden, when
the remote refused or did not answer in time.