Skip to main content

linked_pr_rows

Function linked_pr_rows 

Source
pub fn linked_pr_rows(json: &str) -> Option<Vec<LinkedPrRow>>
Expand description

The listed pull requests, or None when the payload could not be read.

Separated from the gh call so the real payload shape can be tested, and kept distinct from an empty list, because silently failing to parse would look exactly like “no pull request exists”, which is the answer that makes spar implement over the top of somebody’s work.