Skip to main content

ls_remote

Function ls_remote 

Source
pub async fn ls_remote(
    loc: &SshLocation,
    key_path: &Path,
) -> Result<Vec<(String, String)>>
Expand description

ls-remote over SSH: connect to loc, run git-upload-pack, and return the advertised refs (reading only the initial ref advertisement — no negotiation).