Skip to main content

create

Function create 

Source
pub async fn create(
    authorization: &CredentialsOrApiKey,
    opts: CreateOptions,
) -> Result<Repository>
Expand description

A new repository: a fresh machine on the Termite base image. With source it is imported from GitHub (https://github.com/{owner}/{name}, and a branch to check out other than its default): its first machine boots at once, billed like any machine, clones it and saves, and origin says how that went. A public repository needs nothing more. A private one needs its owner’s linked GitHub account (integrations::link_platform), and only a personal repository can import one. Without a name an import takes the GitHub repository’s.