Skip to main content

fetch_verify_input

Function fetch_verify_input 

Source
pub fn fetch_verify_input(
    bin: &Path,
    cache: &IssueCache,
    default_project: &str,
    judged: &ItemRef,
    selector: &CommentSelector,
) -> Result<(IssueDoc, Comment, Vec<Citation>, Vec<Source>)>
Expand description

Fetches everything verify-decision needs for one issue.

Fetches the judged issue, the selected comment, its citations, and the Sources those citations resolve to (a first fetch of the cited items, then a second for any closing pull requests not already fetched). Blocking — callers must be on a blocking thread.