Skip to main content

open_draft

Function open_draft 

Source
pub fn open_draft(
    ctx: &Ctx,
    repo: &Repo,
    base: &str,
    head: &str,
    title: &str,
    body: &str,
) -> Result<(u64, String), String>
Expand description

Opens a draft pull request from head into base: its number and address.

§Errors

Not signed in, or GitHub’s refusal.