Skip to main content

pr_matches

Function pr_matches 

Source
pub(super) fn pr_matches(
    prs: &[OpenPr],
    asked: &Asked<'_>,
    me_agent: &str,
    me_host: &str,
) -> Result<Vec<PrMatch>, String>
Expand description

The open PRs that touch what was asked, each credited to its agent. The caller’s own PRs (same agent and host) are left out. Err when pr names no open PR here.