Skip to main content

create_owned_branch

Function create_owned_branch 

Source
pub async fn create_owned_branch(
    neon: &dyn NeonControl,
    project: &str,
    name: &str,
    parent: Option<&str>,
    expires_at: Option<String>,
    instance: Option<&str>,
) -> Result<Branch, NeonError>
Available on crate feature neon only.
Expand description

Create a branch owned by trestle: annotated with OWNER_ANNOTATION (and the instance, when it is made for one) and expiring at expires_at.