Skip to main content

pr_ref

Function pr_ref 

Source
fn pr_ref(v: &Value) -> Option<(Option<String>, u64)>
Expand description

A PR: 12, "12", "#12", or its URL (https://github.com/<owner>/<repo>/pull/12, with anything after the number, like /files or #issuecomment-…), which also names its repository: (Some("owner/repo"), 12).