Skip to main content

select_comment

Function select_comment 

Source
pub fn select_comment<'a>(
    doc: &'a IssueDoc,
    selector: &CommentSelector,
    default_project: &str,
) -> Result<&'a Comment>
Expand description

Selects the comment verify-decision should check.

CommentSelector::Latest picks the most recent human comment that cites another issue or pull request; a comment that cites nothing verifiable would go straight to needs_review anyway, so those are skipped rather than selected by default.