Function remote_refs

Source
pub fn remote_refs(
    repo_url: &str,
    username: &str,
    password: &str,
) -> Result<Vec<(String, bool, String)>, Error>
Expand description

获取远程仓库的引用(refs)

返回值:Vec<(ref_name, is_symref_target, symref_target_or_oid)>