Skip to main content

parse_review_comment

Function parse_review_comment 

Source
pub fn parse_review_comment(
    body: &str,
    reviewer: &str,
    head_sha: &str,
    targets: &[String],
    warnings: &mut Vec<String>,
) -> Option<EmbeddedReview>
Expand description

Parse a /review comment body into an EmbeddedReview. Returns None if the comment is malformed, with warnings added to the list.