Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getOrCreateRepository
import { getOrCreateRepository } from "https://deno.land/x/fathym_everything_as_code@v0.1.47-fluent-builder/src/octokit/getOrCreateRepository.ts";

Gets the existing repository or creates a new one.

Parameters

octokit: Octokit

The Octokit instance.

The source details.

Returns

Promise<Repository>

The repository.