Skip to main content
Go to Latest
function getOrCreateRepository
import { getOrCreateRepository } from "https://deno.land/x/fathym_everything_as_code@v0.1.63-integration/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.