Skip to main content

pr_for

Function pr_for 

Source
pub fn pr_for(
    ctx: &Ctx,
    root: &Path,
    branch: &str,
) -> Result<Option<Pull>, String>
Expand description

The pull request whose head is branch, if there is one.

§Errors

No GitHub remote, not signed in, or GitHub’s refusal.