Skip to main content

list_remote_refs

Function list_remote_refs 

Source
pub fn list_remote_refs(raw_url: &str) -> Result<RemoteRefs>
Expand description

HEAD and the tags in one round trip, without cloning. outdated uses this so that “did HEAD move” and “does the repository publish releases” cost one network call between them rather than a clone plus a listing.