pub fn parse_milestones_json(s: &str) -> Result<Vec<RemoteMilestone>>Expand description
Parse the JSON returned by gh api repos/:owner/:repo/milestones?state=all.
Exposed publicly so unit tests can cover the contract without
shelling out. The state field is mapped to the strict
MilestoneState enum — an unknown value is a hard error rather
than a silent third state on the diff side.